diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-02-23 03:40:24 +0000 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-02-23 03:40:24 +0000 |
| commit | d7bc310363c98994457e7882e7010e276169f00a (patch) | |
| tree | b59a7e27c9c5a9fc15c959a289b9ab105127a4aa /pokemodr/AuthorUI.cpp | |
| parent | 426721374e515ed14fc3b8d2afabfbb34e223e60 (diff) | |
| download | sigen-d7bc310363c98994457e7882e7010e276169f00a.tar.gz sigen-d7bc310363c98994457e7882e7010e276169f00a.tar.xz sigen-d7bc310363c98994457e7882e7010e276169f00a.zip | |
[FIX] Frac bug with type of Over1
[FIX] PokemodUI vtable errors
[FIX] Manual .pro file clean up
[FIX] Was attempting to emit a slot...
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@72 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'pokemodr/AuthorUI.cpp')
| -rw-r--r-- | pokemodr/AuthorUI.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pokemodr/AuthorUI.cpp b/pokemodr/AuthorUI.cpp index efc5510e..3c53536e 100644 --- a/pokemodr/AuthorUI.cpp +++ b/pokemodr/AuthorUI.cpp @@ -34,7 +34,7 @@ AuthorUI::AuthorUI(Author* a, QWidget* parent) : setupUi(this); QMetaObject::connectSlotsByName(this); setObjects(author, author_mod); - connect(this, SIGNAL(setChanged(bool)), boxButtons, SLOT(setDisabled(bool))); + connect(this, SIGNAL(changed(bool)), boxButtons, SLOT(setDisabled(bool))); setGui(); } @@ -53,30 +53,30 @@ void AuthorUI::setGui() void AuthorUI::on_buttonApply_clicked() { *author = *author_mod; - emit(setChanged(false)); + emit(changed(false)); } void AuthorUI::on_buttonDiscard_clicked() { *author_mod = *author; - emit(setChanged(false)); + emit(changed(false)); setGui(); } void AuthorUI::on_varName_textChanged(const QString& n) { author_mod->setName(n); - emit(setChanged(true)); + emit(changed(true)); } void AuthorUI::on_varEmail_textChanged(const QString& e) { author_mod->setEmail(e); - emit(setChanged(true)); + emit(changed(true)); } void AuthorUI::on_varRole_textChanged(const QString& r) { author_mod->setRole(r); - emit(setChanged(true)); + emit(changed(true)); } |
