From d00a89513183157ce9e1b63913de7a525ad7588a Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 5 May 2007 20:53:14 +0000 Subject: let the settings dialog be a singleton (thanks to Max Blazejak for the patch!) svn path=/trunk/KDE/kdebase/apps/; revision=661508 --- src/dolphinmainwindow.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/dolphinmainwindow.cpp') diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 489a99327..2057c05d5 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -950,9 +950,7 @@ void DolphinMainWindow::compareFiles() void DolphinMainWindow::editSettings() { - // TODO: make a static method for opening the settings dialog - DolphinSettingsDialog dlg(this); - dlg.exec(); + DolphinSettingsDialog::instance(this).exec(); } void DolphinMainWindow::init() -- cgit v1.3