diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 1707657..87ee004 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -64,6 +64,11 @@ int main(int argc, char *argv[]) { // Create application object Browser instance(argc, argv); +#ifdef GIT_VERSION + instance.setApplicationVersion(GIT_VERSION); +#else + instance.setApplicationVersion("1.0.0"); +#endif QCommandLineParser parser; parser.setApplicationDescription("yet another Qt browser"); |