mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-12 12:57:13 +02:00
changed type of getCalDir to std::string
This commit is contained in:
@ -603,7 +603,7 @@ void qDetectorMain::ExecuteUtilities(QAction *action){
|
||||
#ifdef VERBOSE
|
||||
cout << "Loading Calibration Data" << endl;
|
||||
#endif
|
||||
QString fName = QString(myDet->getCalDir());
|
||||
QString fName = QString( (myDet->getCalDir()).c_str() );
|
||||
qDefs::checkErrorMessage(myDet);
|
||||
|
||||
//so that even nonexisting files can be selected
|
||||
@ -626,7 +626,7 @@ void qDetectorMain::ExecuteUtilities(QAction *action){
|
||||
#ifdef VERBOSE
|
||||
cout << "Saving Calibration Data" << endl;
|
||||
#endif//different output directory so as not to overwrite
|
||||
QString fName = QString(myDet->getCalDir());
|
||||
QString fName = QString( (myDet->getCalDir()).c_str() );
|
||||
qDefs::checkErrorMessage(myDet);
|
||||
fName = QFileDialog::getSaveFileName(this,
|
||||
tr("Save Current Detector Calibration Data"),fName,
|
||||
|
Reference in New Issue
Block a user