aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@theqtcompany.com>2015-12-18 00:33:42 +0100
committerAndy Shaw <andy.shaw@theqtcompany.com>2016-02-02 11:42:28 +0000
commitb5ea7a5f5c849329643112cba9b57ad047c0bc4b (patch)
tree67043ce14b77216067965f67eae235ea6879d32a
parentMySql: add failing connection test (diff)
downloadqtbase-b5ea7a5f5c849329643112cba9b57ad047c0bc4b.tar.xz
qtbase-b5ea7a5f5c849329643112cba9b57ad047c0bc4b.zip
Add missing emission of activated(QString)
This signal got missed when 3fb0d851a was submitted so this compliments that fix. Change-Id: I91d20b709fce2c78d41166779954a3bb618feb37 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
-rw-r--r--src/widgets/widgets/qcombobox.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/widgets/qcombobox.cpp b/src/widgets/widgets/qcombobox.cpp
index b04aa7053a..3290cec604 100644
--- a/src/widgets/widgets/qcombobox.cpp
+++ b/src/widgets/widgets/qcombobox.cpp
@@ -2429,6 +2429,7 @@ struct IndexSetter {
{
cb->setCurrentIndex(index);
emit cb->activated(index);
+ emit cb->activated(cb->itemText(index));
}
};
}