From 399706237d2a1d4f03846a25759f9e669b4c8a5d Mon Sep 17 00:00:00 2001 From: dismine Date: Sat, 15 Nov 2014 18:29:10 +0200 Subject: [PATCH] Fixed build on Linux. --HG-- branch : develop --- src/app/core/vapplication.cpp | 3 +++ src/app/core/vapplication.h | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/app/core/vapplication.cpp b/src/app/core/vapplication.cpp index 803e20794..37847fe83 100644 --- a/src/app/core/vapplication.cpp +++ b/src/app/core/vapplication.cpp @@ -45,7 +45,10 @@ #include const qreal VApplication::PrintDPI = 96.0; + +#if defined(Q_OS_WIN) && defined(Q_CC_GNU) const QString VApplication::GistFileName = QStringLiteral("gist.json"); +#endif // defined(Q_OS_WIN) && defined(Q_CC_GNU) #define DefWidth 1.2//mm diff --git a/src/app/core/vapplication.h b/src/app/core/vapplication.h index bab8c74f2..eeb1138cc 100644 --- a/src/app/core/vapplication.h +++ b/src/app/core/vapplication.h @@ -109,7 +109,7 @@ public: void CollectReports() const; private slots: void CleanGist() const; -#endif +#endif // defined(Q_OS_WIN) && defined(Q_CC_GNU) private: Q_DISABLE_COPY(VApplication) Unit _patternUnit; @@ -166,7 +166,7 @@ private: void CollectReport(const QString &reportName) const; void SendReport(const QString &reportName) const; -#endif +#endif // defined(Q_OS_WIN) && defined(Q_CC_GNU) }; //---------------------------------------------------------------------------------------------------------------------