diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-05-15 19:55:43 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-05-15 19:55:43 +0000 |
| commit | fdd0eec1d145fb8ac97b4cc9aaed5218214416ec (patch) | |
| tree | 2389a0d53fe3eaa644ccb220345995feec748823 /pokemodr/SoundUI.cpp | |
| parent | 77124f3f105ea3837022d20a49028309a211c4b0 (diff) | |
| download | sigen-fdd0eec1d145fb8ac97b4cc9aaed5218214416ec.tar.gz sigen-fdd0eec1d145fb8ac97b4cc9aaed5218214416ec.tar.xz sigen-fdd0eec1d145fb8ac97b4cc9aaed5218214416ec.zip | |
[FIX] Refactored out connections made within widgets
[FIX] Flag, Fractiona, and Point widgets fixed to only emit signals when actually changed
[FIX] Pokemod classes now emit signals
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@138 6ecfd1a5-f3ed-3746-8530-beee90d26b22
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")); |
