[Interest] QCombox::currentIndexChanged(QString) emitted twice?
dannykoppel at gmail.com
Wed Oct 17 16:01:41 CEST 2012
Is there an guarantee that the received order is always correct?
If not, you cannot rely on this behaviour.
On Oct 17, 2012, at 3:22 PM, Eckhard Jokisch wrote:
> 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
> Interest mailing list
> Interest at qt-project.org
More information about the Interest