updating versioning to only have date

This commit is contained in:
2018-03-27 11:00:15 +02:00
parent b8bdbf4da6
commit fe2ba8621b
10 changed files with 26 additions and 31 deletions

View File

@ -99,8 +99,7 @@ qDetectorMain::qDetectorMain(int argc, char **argv, QApplication *app, int& ret,
break;
case 'v':
tempval = GITREV;
tempval = (tempval <<32) | GITDATE;
tempval = GITDATE;
cout << "SLS Detector GUI " << GITBRANCH << " (0x" << hex << tempval << ")" << endl;
return;
@ -666,8 +665,7 @@ void qDetectorMain::ExecuteHelp(QAction *action){
cout << "About: Common GUI for Mythen, Eiger, Gotthard, Jungfrau, Moench and Propix detectors" << endl;
#endif
char version[200];
long long unsigned int retval= GITREV;
retval= (retval <<32) | GITDATE;
long long unsigned int retval= GITDATE;
sprintf(version,"%llx",retval);
string thisGUIVersion = string(version);