Tue, 28 Jun 2022 19:25:45 +0300
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);