diff --git a/main.cpp b/main.cpp index 28e05db7a..35135525f 100644 --- a/main.cpp +++ b/main.cpp @@ -47,9 +47,13 @@ int main(int argc, char *argv[]) // Override programs executable basename as application name. a.setApplicationName ("WSJT-X"); +#if CMAKE_BUILD a.setApplicationVersion (WSJTX_STRINGIZE (WSJTX_VERSION_MAJOR) "." WSJTX_STRINGIZE (WSJTX_VERSION_MINOR) "." WSJTX_STRINGIZE (WSJTX_VERSION_PATCH) " " + revision ()); +#else + a.setApplicationVersion ("1.4.0"); +#endif bool multiple {false}; diff --git a/mainwindow.cpp b/mainwindow.cpp index d6c21a394..4c03d5c3c 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1,4 +1,4 @@ -//--------------------------------------------------------- MainWindow +//-------------------------------------------------------- MainWindow #include "mainwindow.h"