Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit ecd4f818 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Don't block the process while showing the dialog

Otherwise it's not possible to interact with the system tray while the
dialog is open.
parent abfa8c81
......@@ -69,9 +69,10 @@ int main(int argc, char** argv)
menu->clear();
auto configure = menu->addAction(i18n("Configure..."));
QObject::connect(configure, &QAction::triggered, configure, [](){
KCMultiDialog dialog;
dialog.addModule("kcm_kdeconnect");
dialog.exec();
KCMultiDialog* dialog = new KCMultiDialog;
dialog->addModule("kcm_kdeconnect");
dialog->setAttribute(Qt::WA_DeleteOnClose);
dialog->show();
});
for (int i=0, count = model.rowCount(); i<count; ++i) {
DeviceDbusInterface* device = model.getDevice(i);
......
Markdown is supported
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