disable real time indexing setup gui if system type does not support monitor mode

This commit is contained in:
"Jean-Francois Dockes ext:(%22) 2012-09-23 18:13:25 +02:00
parent d9dc7cf142
commit a77edbd6b1

View File

@ -938,8 +938,12 @@ void RclMain::showIndexSched(bool modal)
connect(indexSched->cronCLB, SIGNAL(clicked()),
this, SLOT(execCronTool()));
if (theconfig && theconfig->isDefaultConfig()) {
#ifdef RCL_MONITOR
connect(indexSched->rtidxCLB, SIGNAL(clicked()),
this, SLOT(execRTITool()));
#else
indexSched->rtidxCLB->setEnabled(false);
#endif
} else {
indexSched->rtidxCLB->setEnabled(false);
}