[Interest] QCombox::currentIndexChanged(QString) emitted twice?
Danny Koppel
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.
Danny
On Oct 17, 2012, at 3:22 PM, Eckhard Jokisch wrote:
> 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
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
More information about the Interest
mailing list