src/GLRenderer.h

changeset 644
93dcd1a0e4bd
parent 642
751a8df42842
child 690
9e9c52ca955e
--- a/src/GLRenderer.h	Wed Mar 05 05:31:07 2014 +0200
+++ b/src/GLRenderer.h	Wed Mar 05 12:47:00 2014 +0200
@@ -19,6 +19,7 @@
 #pragma once
 #include <QGLWidget>
 #include "Main.h"
+#include "Macros.h"
 #include "LDObject.h"
 #include "Document.h"
 
@@ -285,6 +286,12 @@
 			return currentDocumentData().zoom[camera()];
 		}
 
+		template<typename... Args>
+		inline QString format (QString fmtstr, Args... args)
+		{
+			return ::format (fmtstr, args...);
+		}
+
 	private slots:
 		void           slot_toolTipTimer();
 };

mercurial