diff options
Diffstat (limited to 'pokemodr/SoundUI.cpp')
| -rw-r--r-- | pokemodr/SoundUI.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/pokemodr/SoundUI.cpp b/pokemodr/SoundUI.cpp index 299861ab..717c4b95 100644 --- a/pokemodr/SoundUI.cpp +++ b/pokemodr/SoundUI.cpp @@ -38,10 +38,6 @@ SoundUI::SoundUI(Sound* sound, QWidget* parent) : setupUi(this); QMetaObject::connectSlotsByName(this); setObjects(sound, new Sound(*sound)); - connect(modified(), SIGNAL(error(const QString&)), this, SLOT(setGui())); - connect(modified(), SIGNAL(error(const QString&)), this, SLOT(errorMessage(const QString&))); - connect(modified(), SIGNAL(warning(const QString&)), this, SLOT(warningMessage(const QString&))); - connect(modified(), SIGNAL(changed()), this, SLOT(setChanged())); init(); } @@ -53,7 +49,7 @@ SoundUI::~SoundUI() void SoundUI::initGui() { seeker->setMediaObject(m_media); - connect(m_media, SIGNAL(finished()), buttonStop, SLOT(clicked())); + connect(m_media, SIGNAL(finished()), buttonStop, SIGNAL(clicked())); buttonPlayPause->setIcon(KIcon("media-playback-play")); buttonStop->setIcon(KIcon("media-playback-stop")); buttonBrowse->setIcon(KIcon("document-open")); |
