diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-10-30 11:47:01 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-10-30 11:47:01 +0900 |
commit | d54efa8cb872b6ecc7657dd215efeeabf04821e1 (patch) | |
tree | d177cc3a032282804cbcf4c3d06dea10cfce59b0 /src/main.cpp | |
parent | c0b1f3384ccc4dbf9311e97829f9218cf944fac8 (diff) | |
download | universal-indent-gui-tqt-d54efa8cb872b6ecc7657dd215efeeabf04821e1.tar.gz universal-indent-gui-tqt-d54efa8cb872b6ecc7657dd215efeeabf04821e1.zip |
Add git hash to program version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/main.cpp')
-rwxr-xr-x | src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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) { |