cleanup version.h

Tue, 28 Jun 2022 19:25:45 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Tue, 28 Jun 2022 19:25:45 +0300
changeset 295
4241d948af28
parent 294
70b69a15c736
child 296
38f6fad61bad

cleanup version.h

src/version.cpp file | annotate | diff | comparison | revisions
src/version.h file | annotate | diff | comparison | revisions
--- a/src/version.cpp	Tue Jun 28 19:25:08 2022 +0300
+++ b/src/version.cpp	Tue Jun 28 19:25:45 2022 +0300
@@ -18,7 +18,6 @@
 
 #include <QString>
 #include <QDateTime>
-#include <QLocale>
 #include <QObject>
 #include <time.h>
 #include <hginfo.h>
--- a/src/version.h	Tue Jun 28 19:25:08 2022 +0300
+++ b/src/version.h	Tue Jun 28 19:25:45 2022 +0300
@@ -18,14 +18,7 @@
 
 #pragma once
 #include <QString>
-
-#ifdef DEBUG
-# undef RELEASE
-#endif // DEBUG
-
-#ifdef RELEASE
-# undef DEBUG
-#endif // RELEASE
+#include <QLocale>
 
 const QString& fullVersionString(QLocale::FormatType formatType);
 QString detailedVersionString(QLocale::FormatType formatType);

mercurial