Fixed build on Linux.

--HG--
branch : develop
This commit is contained in:
dismine 2014-11-15 18:29:10 +02:00
parent e370d70937
commit 399706237d
2 changed files with 5 additions and 2 deletions

View File

@ -45,7 +45,10 @@
#include <QTemporaryFile> #include <QTemporaryFile>
const qreal VApplication::PrintDPI = 96.0; const qreal VApplication::PrintDPI = 96.0;
#if defined(Q_OS_WIN) && defined(Q_CC_GNU)
const QString VApplication::GistFileName = QStringLiteral("gist.json"); const QString VApplication::GistFileName = QStringLiteral("gist.json");
#endif // defined(Q_OS_WIN) && defined(Q_CC_GNU)
#define DefWidth 1.2//mm #define DefWidth 1.2//mm

View File

@ -109,7 +109,7 @@ public:
void CollectReports() const; void CollectReports() const;
private slots: private slots:
void CleanGist() const; void CleanGist() const;
#endif #endif // defined(Q_OS_WIN) && defined(Q_CC_GNU)
private: private:
Q_DISABLE_COPY(VApplication) Q_DISABLE_COPY(VApplication)
Unit _patternUnit; Unit _patternUnit;
@ -166,7 +166,7 @@ private:
void CollectReport(const QString &reportName) const; void CollectReport(const QString &reportName) const;
void SendReport(const QString &reportName) const; void SendReport(const QString &reportName) const;
#endif #endif // defined(Q_OS_WIN) && defined(Q_CC_GNU)
}; };
//--------------------------------------------------------------------------------------------------------------------- //---------------------------------------------------------------------------------------------------------------------