Emit the activated signal when the platform menu item is selected.

Change-Id: I3485501643c60f28ef188100146ac305e3ef9073
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com>
This commit is contained in:
Andy Shaw 2015-12-14 11:51:33 +01:00 committed by Andy Shaw
parent 7ac5228144
commit 3fb0d851a0

View File

@ -2425,7 +2425,11 @@ struct IndexSetter {
int index;
QComboBox *cb;
void operator()(void) { cb->setCurrentIndex(index); }
void operator()(void)
{
cb->setCurrentIndex(index);
emit cb->activated(index);
}
};
}