70thCommander
22nd December 2010, 10:28
Hello Community,
i have the following codelines which gives a result of "true" out of the console.
QPair<QString, QString> blub, bla;
blub.first=="a";
blub.second=="b";
bla.first=="a";
bla.second=="z";
qDebug() << (blub == bla);
Why is this equal?
i have the following codelines which gives a result of "true" out of the console.
QPair<QString, QString> blub, bla;
blub.first=="a";
blub.second=="b";
bla.first=="a";
bla.second=="z";
qDebug() << (blub == bla);
Why is this equal?