diff options
| author | John Tapsell <[email protected]> | 2007-12-01 14:06:07 +0000 |
|---|---|---|
| committer | John Tapsell <[email protected]> | 2007-12-01 14:06:07 +0000 |
| commit | a818e555cb09c5da516021f9df7c7ff7c23543fe (patch) | |
| tree | d01ecd58d639cf8ddf8335026e13c276bb2717c2 | |
| parent | 7077d2edfff7ca38c4c181b2cd5014adabe20e51 (diff) | |
Make file properties dialog box non-modal
svn path=/trunk/KDE/kdebase/apps/; revision=743617
| -rw-r--r-- | src/dolphinmainwindow.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 872042eb2..4d84317ad 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -522,8 +522,11 @@ void DolphinMainWindow::properties() { const KFileItemList list = m_activeViewContainer->view()->selectedItems(); - KPropertiesDialog dialog(list, this); - dialog.exec(); + KPropertiesDialog *dialog = new KPropertiesDialog(list, this); + dialog->setAttribute(Qt::WA_DeleteOnClose); + dialog->show(); + dialog->raise(); + dialog->activateWindow(); } void DolphinMainWindow::quit() |
