[Interest] QCombox::currentIndexChanged(QString) emitted twice?

Eckhard Jokisch qt at eckhard-jokisch.de
Wed Oct 17 15:22:15 CEST 2012


Hi,
today I discovered that obviously the SIGNAL
QComboBox::currentIndexChanged(QString) is emitted twice when I select a
different item. The first time QString contains the previous string and
the second time it contains the new string.

Can I rely on this previous/next  behaviour?

This would save a lot of work for me in implementing some extra tracking
of what was selected previously.


Kind regards

Eckhard



More information about the Interest mailing list