- added a long int overload to StringFormatArg

Wed, 12 Mar 2014 16:20:40 +0200

author
Santeri Piippo <crimsondusk64@gmail.com>
date
Wed, 12 Mar 2014 16:20:40 +0200
changeset 654
a74f2ff353b8
parent 653
a9966d51ebf1
child 655
b376645315ab
child 705
09150d027e8c

- added a long int overload to StringFormatArg

src/Format.h file | annotate | diff | comparison | revisions
--- a/src/Format.h	Sun Mar 09 14:58:46 2014 +0200
+++ b/src/Format.h	Wed Mar 12 16:20:40 2014 +0200
@@ -35,6 +35,7 @@
 		StringFormatArg (const uchar& a) : m_text (a) {}
 		StringFormatArg (const QChar& a) : m_text (a) {}
 		StringFormatArg (int a) : m_text (QString::number (a)) {}
+		StringFormatArg (long a) : m_text (QString::number (a)) {}
 		StringFormatArg (const float& a) : m_text (QString::number (a)) {}
 		StringFormatArg (const double& a) : m_text (QString::number (a)) {}
 		StringFormatArg (const Vertex& a) : m_text (a.toString (false)) {}
@@ -168,4 +169,4 @@
 	(void) fmtstr;
 	(void) args;
 #endif
-}
\ No newline at end of file
+}

mercurial