From a77edbd6b192e055acae1b1aabc84228194a5b2b Mon Sep 17 00:00:00 2001 From: "\"Jean-Francois Dockes ext:(%22)" Date: Sun, 23 Sep 2012 18:13:25 +0200 Subject: [PATCH] disable real time indexing setup gui if system type does not support monitor mode --- src/qtgui/rclmain_w.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/qtgui/rclmain_w.cpp b/src/qtgui/rclmain_w.cpp index 5013e145..e913585d 100644 --- a/src/qtgui/rclmain_w.cpp +++ b/src/qtgui/rclmain_w.cpp @@ -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); }