Commit d62e16e1 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

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

That way it's nicely centered in the parent window
parent d2148dcc
Pipeline #198850 passed with stage
in 5 minutes and 39 seconds
......@@ -6,6 +6,8 @@
#include "kcm_componentchooser.h"
#include <QApplication>
#include <KAboutData>
#include <KBuildSycocaProgressDialog>
#include <KLocalizedString>
......@@ -87,7 +89,7 @@ void KcmComponentChooser::load()
void KcmComponentChooser::save()
{
m_data->save();
KBuildSycocaProgressDialog::rebuildKSycoca(nullptr);
KBuildSycocaProgressDialog::rebuildKSycoca(QApplication::activeWindow());
}
bool KcmComponentChooser::isDefaults() const
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment