For some reason I decided to refactor a piece of code of one of my projects this morning and the results I got sounded weird . After tracking errors I tried this piece of code :

Qt Code:
  1.  
  2. val << "subdirs";
  3.  
  4. qDebug("value : \'%s\'", val.at(0).toLatin1().data());
  5.  
  6. if ( val.at(0) != "subdirs" )
  7. qFatal("Shit! what is QString doing?");
To copy to clipboard, switch view to plain text mode 

Guess the debug output I obtained!

value : 'subdirs'
Shit! what is QString doing?


I was just wondering if there could be a rationnal reason for such a thing to happen... I tried a "make clean && qmake && make" => no changes!!! I'm about to reboot my computer re-"make clean && qmake && make", but, even it were to work again, I'd still be puzzled by this weird error...