included a flag to print log or not

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@167 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
l_maliakal_d 2013-03-15 08:11:52 +00:00
parent ebd6a9131b
commit b7629f6c67
2 changed files with 3 additions and 1 deletions

View File

@ -30,7 +30,9 @@ using namespace std;
class qStreamEvent:public QEvent{
public:
qStreamEvent(QString s):QEvent(static_cast<QEvent::Type>(STREAMEVENT)),str(s){
#ifdef PRINT_LOG
printf("%s\n",str.toAscii().constData());
#endif
}
/** \returns the progress index */
QString getString() {return str;}

View File

@ -22,7 +22,7 @@ CONFIG += debug no_include_pwd
QMAKE_CXXFLAGS_WARN_ON = -w
QMAKE_CFLAGS_WARN_ON = -w
DEFINES += VERBOSE DACS_INT THIS_PATH=\\\"$$PWD\\\" #VERYVERBOSE
DEFINES += VERBOSE DACS_INT PRINT_LOG THIS_PATH=\\\"$$PWD\\\" #VERYVERBOSE
target.path += $(DESTDIR)