mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-05 07:24:38 -04:00
Use WSJT-X revision utilities to label the MAP65 revision
MAP65 still has a private version number as set in map65/main.c, but the SCS revision automatically tracks the git SHA.
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#endif
|
||||
#include <QApplication>
|
||||
|
||||
#include "revision_utils.hpp"
|
||||
#include "mainwindow.h"
|
||||
|
||||
static QtMessageHandler default_message_handler;
|
||||
@@ -22,6 +23,9 @@ int main(int argc, char *argv[])
|
||||
default_message_handler = qInstallMessageHandler (my_message_handler);
|
||||
|
||||
QApplication a {argc, argv};
|
||||
// Override programs executable basename as application name.
|
||||
a.setApplicationName ("MAP65");
|
||||
a.setApplicationVersion ("3.0.0-devel");
|
||||
MainWindow w;
|
||||
w.show ();
|
||||
return a.exec ();
|
||||
|
||||
Reference in New Issue
Block a user