--- 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(); };