[kcms/icons] Pass parent window to ksycoca progress dialog

That way it's nicely centered in the parent window
wilder-5.26
Nicolas Fella 4 years ago
parent 9bad434fbf
commit d0c5e6181c
  1. 3
      kcms/icons/iconssettings.cpp

@ -4,6 +4,7 @@
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include <QApplication>
#include <QDebug>
#include <QObject>
@ -41,6 +42,6 @@ void IconsSettings::updateIconTheme()
KIconLoader::emitChange(KIconLoader::Group(i));
}
KBuildSycocaProgressDialog::rebuildKSycoca(nullptr);
KBuildSycocaProgressDialog::rebuildKSycoca(QApplication::activeWindow());
}
}

Loading…
Cancel
Save