change outdir for all receivers in gui

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@208 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
l_maliakal_d
2013-07-24 09:38:55 +00:00
parent 27a21cc258
commit 68f360e395
2 changed files with 25 additions and 13 deletions

View File

@ -218,9 +218,10 @@ static const int64_t GUI_VERSION=0x20121213;
/**gets error mask and displays the message if it exists
* @param myDet is the slsdetector object
* @param show to display the error message
/returns error message else an empty string
* */
static string checkErrorMessage(slsDetector*& myDet){
static string checkErrorMessage(slsDetector*& myDet,bool show = true){
int errorLevel= (int)WARNING;
@ -244,7 +245,8 @@ static const int64_t GUI_VERSION=0x20121213;
retval.append("</font></nobr>");
//display message
qDefs::Message((MessageIndex)errorLevel,retval,"Main");
if(show)
qDefs::Message((MessageIndex)errorLevel,retval,"Main");
}
myDet->clearErrorMask();