add delay before reinit confirmation
required to mitigate false positives due to threaded init code REVIEW: 104799
This commit is contained in:
parent
d6209471e8
commit
75b6a04732
2 changed files with 5 additions and 1 deletions
|
@ -573,7 +573,10 @@ void KWinCompositingConfig::save()
|
|||
|
||||
if (m_showConfirmDialog) {
|
||||
m_showConfirmDialog = false;
|
||||
showConfirmDialog(advancedChanged);
|
||||
if (advancedChanged)
|
||||
QTimer::singleShot(1000, this, SLOT(confirmReInit()));
|
||||
else
|
||||
showConfirmDialog(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -75,6 +75,7 @@ public slots:
|
|||
void initEffectSelector();
|
||||
|
||||
private slots:
|
||||
void confirmReInit() { showConfirmDialog(true); }
|
||||
void rearmGlSupport();
|
||||
void suggestGraphicsSystem();
|
||||
void toogleSmoothScaleUi(int compositingType);
|
||||
|
|
Loading…
Reference in a new issue