--- a/src/string.h Tue May 21 17:39:27 2013 +0300 +++ b/src/string.h Tue May 21 18:38:06 2013 +0300 @@ -97,6 +97,7 @@ bool operator! () const { return empty (); } operator const char* () const { return chars (); } operator QString () { return chars (); } + operator const QString () const { return chars (); } private: std::string m_string;