summaryrefslogtreecommitdiff
path: root/client/widgets/combobox.cc
diff options
context:
space:
mode:
authordeva <deva>2010-08-19 09:04:47 +0000
committerdeva <deva>2010-08-19 09:04:47 +0000
commit7914500c96ebe2106716a001ca2b93594d3c07a5 (patch)
tree025cf3dcbba673df9dcca9fa5864135a328209c8 /client/widgets/combobox.cc
parent145bc8467b9f4271ca15654bc4bc6f7a8bc816b6 (diff)
Fixed problems with eventOnChange.
Diffstat (limited to 'client/widgets/combobox.cc')
-rw-r--r--client/widgets/combobox.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/widgets/combobox.cc b/client/widgets/combobox.cc
index ebc2cb5..5d5543f 100644
--- a/client/widgets/combobox.cc
+++ b/client/widgets/combobox.cc
@@ -174,7 +174,7 @@ void ComboBox::setValue(QString value, QString source)
combobox->setCurrentIndex(idx);
ischangingbyuser = true;
} else {
- eventOnChange();
+ emit eventOnChange();
}
// setInitialValue(value);
@@ -192,7 +192,7 @@ bool ComboBox::preValid()
void ComboBox::changed()
{
if(ischangingbyuser) emit wasChanged();
- eventOnChange();
+ emit eventOnChange();
}
bool ComboBox::eventFilter(QObject *obj, QEvent *event)