From 56f272b11d13bbc5d829283ccf2813d3a7e41dbc Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 13 May 2008 07:07:57 +0000 Subject: [ADD] Sound UI code [FIX] Using class-named includes for KDE as well now [FIX] Signals fixed for UI classes [FIX] FileDialog now created on heap rather than the stack git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@128 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemodr/models/SoundModel.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'pokemodr/models/SoundModel.cpp') diff --git a/pokemodr/models/SoundModel.cpp b/pokemodr/models/SoundModel.cpp index 90112f81..ffec4226 100644 --- a/pokemodr/models/SoundModel.cpp +++ b/pokemodr/models/SoundModel.cpp @@ -19,7 +19,7 @@ #include "SoundModel.h" // PokeModr includes -// #include "../SoundUI.h" +#include "../SoundUI.h" // Pokemod includes #include "../../pokemod/Sound.h" @@ -49,9 +49,8 @@ QVariant SoundModel::data(int role) const } else if (role == BaseModel::WidgetRole) { - // TODO: SoundUI -// QWidget* widget = new SoundUI(static_cast(m_object), NULL); -// return QVariant::fromValue(widget); + QWidget* widget = new SoundUI(static_cast(m_object), NULL); + return QVariant::fromValue(widget); } return QVariant(); } -- cgit