Merge branch 'Plasma/5.12' into Plasma/5.14

This commit is contained in:
Kai Uwe Broulik 2018-10-12 13:54:24 +02:00
commit 1fe3c765cd

View file

@ -687,6 +687,7 @@ void RulesWidget::detectClicked()
detect_dlg = new DetectDialog;
connect(detect_dlg, SIGNAL(detectionDone(bool)), this, SLOT(detected(bool)));
detect_dlg->detect(Ui::RulesWidgetBase::detection_delay->value());
Ui::RulesWidgetBase::detect->setEnabled(false);
}
void RulesWidget::detected(bool ok)
@ -725,6 +726,7 @@ void RulesWidget::detected(bool ok)
delete detect_dlg;
detect_dlg = nullptr;
detect_dlg_ok = ok;
Ui::RulesWidgetBase::detect->setEnabled(true);
}
#define GENERIC_PREFILL( var, func, info, uimethod ) \