From 9c1388c7964bd3b4ae147e39c146c96dc20947e9 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 16 May 2008 16:55:28 +0000 Subject: [FIX] TypeModel done for data() in models [FIX] Another Qt bug found :( [FIX] Better connections for the editor widget git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@141 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemodr/models/DialogModel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pokemodr/models/DialogModel.cpp') diff --git a/pokemodr/models/DialogModel.cpp b/pokemodr/models/DialogModel.cpp index 1cfdfe32..cf4d7a60 100644 --- a/pokemodr/models/DialogModel.cpp +++ b/pokemodr/models/DialogModel.cpp @@ -53,7 +53,7 @@ QVariant DialogModel::data(int role) const // QWidget* widget = new DialogUI(static_cast(m_object), NULL); // return QVariant::fromValue(widget); } - return QVariant(); + return ObjectModel::data(role); } bool DialogModel::setData(const QVariant& value, int role) -- cgit