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@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest