src/string.h

changeset 237
ec77f6e9a19f
parent 236
b58d35dc5d52
child 251
c4b96bc41298
--- 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;

mercurial