Skip to content

Commit

Permalink
ToolLauncher: add scopy version to the title followed by the git hash
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Suciu <[email protected]>
  • Loading branch information
adisuciu committed May 17, 2019
1 parent 14f2f58 commit 20ceed0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions config.h.cmakein
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#ifndef CONFIG_H_CMAKEIN
#define CONFIG_H_CMAKEIN

#define PROJECT_VERSION "@PROJECT_VERSION@"
#define SCOPY_VERSION_GIT "@SCOPY_VERSION_GIT@"

#endif // CONFIG_H_CMAKEIN
2 changes: 1 addition & 1 deletion src/tool_launcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ ToolLauncher::ToolLauncher(QString prevCrashDump, QWidget *parent) :
setWindowIcon(QIcon(":/icon.ico"));

// TO DO: remove this when the About menu becomes available
setWindowTitle(QString("Scopy - ") + QString(SCOPY_VERSION_GIT));
setWindowTitle(QString("Scopy - ") + QString("v"+QString(PROJECT_VERSION)) + " - " + QString(SCOPY_VERSION_GIT));

prefPanel = new Preferences(this);
prefPanel->setVisible(false);
Expand Down

0 comments on commit 20ceed0

Please sign in to comment.