From 4f2f7639afb4030ca12d60d9eaf74851e2ae4316 Mon Sep 17 00:00:00 2001 From: l_maliakal_d Date: Tue, 30 Jul 2013 14:55:17 +0000 Subject: [PATCH] changed the start and stop receiver error messages to be displayed to the client and not jsus recever git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@214 af1100a4-978c-4157-bff7-07162d2ba061 --- slsDetectorGui/include/qDefs.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/slsDetectorGui/include/qDefs.h b/slsDetectorGui/include/qDefs.h index 40abeb58b..befee43db 100644 --- a/slsDetectorGui/include/qDefs.h +++ b/slsDetectorGui/include/qDefs.h @@ -146,19 +146,19 @@ static const int64_t GUI_VERSION=0x20121213; static QMessageBox* msgBox; switch(index){ case WARNING: - source.append(": WARNING"); + source.insert(0,"WARNING: #"); msgBox= new QMessageBox(QMessageBox::Warning,source.c_str(),tr(message.c_str()),QMessageBox::Ok, msgBox); break; case CRITICAL: - source.append(": CRITICAL"); + source.insert(0,"CRITICAL: #"); msgBox= new QMessageBox(QMessageBox::Critical,source.c_str(),tr(message.c_str()),QMessageBox::Ok, msgBox); break; case INFORMATION: - source.append(": INFORMATION"); + source.insert(0,"INFORMATION: #"); msgBox= new QMessageBox(QMessageBox::Information,source.c_str(),tr(message.c_str()),QMessageBox::Ok, msgBox); break; default: - source.append(": QUESTION"); + source.insert(0,"QUESTION: #"); msgBox= new QMessageBox(QMessageBox::Question,source.c_str(),tr(message.c_str()),QMessageBox::Ok| QMessageBox::Cancel, msgBox); break; }