Merge branch 'Plasma/5.12' into Plasma/5.14
This commit is contained in:
commit
1fe3c765cd
1 changed files with 2 additions and 0 deletions
|
@ -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 ) \
|
||||
|
|
Loading…
Reference in a new issue