diff options
| author | Peter Penz <[email protected]> | 2007-05-05 20:53:14 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-05-05 20:53:14 +0000 |
| commit | d00a89513183157ce9e1b63913de7a525ad7588a (patch) | |
| tree | 7236c94ce493ec896e2ff20105d3d28184326632 /src/dolphinmainwindow.cpp | |
| parent | be7f817875e533cd9dabde7115febfc1fd6a37f6 (diff) | |
let the settings dialog be a singleton (thanks to Max Blazejak for the patch!)
svn path=/trunk/KDE/kdebase/apps/; revision=661508
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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() |
