Commit 12779f81 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Remove forcing qt dialogs on non-kde X11

This was needed when we disabled the glib eventloop everywhere, but
we only do that in KDE anymore.
parent 0245e9fd
......@@ -181,12 +181,6 @@ void KoFileDialog::createFileDialog()
d->fileDialog->setWindowModality(Qt::WindowModal);
}
#ifdef Q_WS_X11
if (qgetenv("KDE_FULL_SESSION").size() == 0) {
d->fileDialog->setOption(QFileDialog::DontUseNativeDialog);
}
#endif
connect(d->fileDialog, SIGNAL(filterSelected(QString)), this, SLOT(filterSelected(QString)));
}
......
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