diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 2a28439..d6a6fd0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -27,7 +27,9 @@ int main(int argc, char *argv[]) { QApplication app(argc, argv); app.setApplicationName("smolbote"); - app.setApplicationVersion("0.0.0"); +#ifdef VERSION + app.setApplicationVersion(VERSION); +#endif app.setWindowIcon(QIcon(QLatin1String(":/icon.svg"))); QCommandLineParser parser; |