data->debugService = QDeclarativeObserverService::instance();
- connect(data->debugService, SIGNAL(debuggingClientChanged(bool)),
- data.data(), SLOT(_q_setToolBoxVisible(bool)));
+ // tool box is disabled
+ //connect(data->debugService, SIGNAL(debuggingClientChanged(bool)),
+ // data.data(), SLOT(_q_setToolBoxVisible(bool)));
connect(data->debugService, SIGNAL(designModeBehaviorChanged(bool)),
SLOT(setDesignModeBehavior(bool)));
createToolBox();
if (toolBox)
toolBox->setVisible(visible);
+#else
+ Q_UNUSED(visible)
#endif
}