Hello Community,

i have the following codelines which gives a result of "true" out of the console.

Qt Code:
  1. QPair<QString, QString> blub, bla;
  2.  
  3. blub.first=="a";
  4. blub.second=="b";
  5. bla.first=="a";
  6. bla.second=="z";
  7.  
  8. qDebug() << (blub == bla);
To copy to clipboard, switch view to plain text mode 
Why is this equal?