diff options
Diffstat (limited to 'pokemodr/models/SoundModel.cpp')
| -rw-r--r-- | pokemodr/models/SoundModel.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
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<Sound*>(m_object), NULL); -// return QVariant::fromValue(widget); + QWidget* widget = new SoundUI(static_cast<Sound*>(m_object), NULL); + return QVariant::fromValue(widget); } return QVariant(); } |
