From d54efa8cb872b6ecc7657dd215efeeabf04821e1 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 30 Oct 2023 11:47:01 +0900 Subject: Add git hash to program version Signed-off-by: Michele Calgaro --- src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 38decad..c71d80f 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -65,8 +65,8 @@ int main(int argc, char *argv[]) { // Define the command line object. TCLAP::CmdLine cmd("If -p and -s are set, -p will be used.\n" - "Giving no parameters starts full gui without server.", ' ', - "UiGUI version " PROGRAM_VERSION_STRING " " PROGRAM_REVISION); + "Giving no parameters starts full gui without server.", + ' ', PROGRAM_VERSION_STRING); cmd.setExceptionHandling(false); // Define a value argument and add it to the command line. @@ -140,7 +140,7 @@ int main(int argc, char *argv[]) // -- TSLogger::getInstance(verboseLevel); // -- #endif // -- qInstallMsgHandler(TSLogger::messageHandler); -// -- TSLogger::messageHandler(TSLoggerInfoMsg, TQString("Starting UiGUI Version %1 %2").arg(PROGRAM_VERSION_STRING).arg(PROGRAM_REVISION).toAscii()); +// -- TSLogger::messageHandler(TSLoggerInfoMsg, TQString("Starting UiGUI Version %1 %2").arg(PROGRAM_VERSION_STRING).toAscii()); // -- // Start normal with full gui and without server. if (!startAsPlugin && !startAsServer) { -- cgit v1.2.3