Commit 6d99b077 authored by Dawit Alemayehu's avatar Dawit Alemayehu
Browse files

Changed OpenWith dialog from Qt::ApplicationModal to Qt::WindowModal.

BUG: 153421
REVIEW: 114473
FIXED-IN: 4.12.1
parent 72dcd8f1
...@@ -243,6 +243,7 @@ bool KRun::displayOpenWithDialog(const QList<QUrl> &lst, QWidget *window, bool t ...@@ -243,6 +243,7 @@ bool KRun::displayOpenWithDialog(const QList<QUrl> &lst, QWidget *window, bool t
} }
#endif #endif
KOpenWithDialog l(lst, i18n("Open with:"), QString(), window); KOpenWithDialog l(lst, i18n("Open with:"), QString(), window);
l.setWindowModality(Qt::WindowModal);
if (l.exec()) { if (l.exec()) {
KService::Ptr service = l.service(); KService::Ptr service = l.service();
if (!service) { if (!service) {
......
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