common.h

changeset 78
c190fe218506
parent 70
e6b8dab8f81a
child 79
f8917e9d07f6
--- a/common.h	Mon Apr 08 19:24:23 2013 +0300
+++ b/common.h	Tue Apr 09 14:06:40 2013 +0300
@@ -95,6 +95,10 @@
 	return (a > b) ? a : b;
 }
 
+static inline const char* qchars (QString qstr) {
+	return qstr.toStdString ().c_str ();
+}
+
 static const double pi = 3.14159265358979323846f;
 
 // main.cpp

mercurial