diff options
| author | Peter Penz <[email protected]> | 2007-05-28 04:32:57 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-05-28 04:32:57 +0000 |
| commit | da795d20e2f2fa57ac9cafdffcfac4d092d8eaea (patch) | |
| tree | b1061c3af7f26a416e859c177306745ee8507928 /src/dolphinmainwindow.cpp | |
| parent | b93168a6d80a327732bc2597a227d0c0f5873e2d (diff) | |
create modal dialogs on stack as David suggested
svn path=/trunk/KDE/kdebase/apps/; revision=668900
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index cdb3f3cbc..59fc84af3 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -458,9 +458,8 @@ void DolphinMainWindow::deleteItems() void DolphinMainWindow::properties() { const KFileItemList list = m_activeView->selectedItems(); - KPropertiesDialog* dlg = new KPropertiesDialog(list, this); - dlg->exec(); - delete dlg; + KPropertiesDialog dialog(list, this); + dialog.exec(); } void DolphinMainWindow::quit() |
