mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-04-29 00:19:15 -05:00
add current git hash to the app title
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ int main( int argc, char ** argv )
|
||||
{
|
||||
QApplication a( argc, argv );
|
||||
a.setOrganizationName("duckmansoftware");
|
||||
a.setApplicationName("SQLite Database Browser");
|
||||
a.setApplicationName("SQLite Database Browser " + QString(APP_VERSION));
|
||||
MainWindow w;
|
||||
#if defined(Q_WS_MAC)
|
||||
AEInstallEventHandler(kCoreEventClass, kAEOpenDocuments,
|
||||
|
||||
@@ -57,6 +57,9 @@ SOURCES += \
|
||||
createtabledialog.cpp \
|
||||
SQLLogDock.cpp \
|
||||
sqlitesyntaxhighlighter.cpp
|
||||
|
||||
QMAKE_CXXFLAGS += -DAPP_VERSION=\\\"`git log -n1 --format=%h`\\\"
|
||||
|
||||
unix {
|
||||
UI_DIR = .ui
|
||||
MOC_DIR = .moc
|
||||
|
||||
Reference in New Issue
Block a user