]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinmainwindow.cpp
Relayout of the settings dialog, so that all Dolphin KPart relevant settings can...
[dolphin.git] / src / dolphinmainwindow.cpp
index 60f6e97b3e7d2fa4a867bf5c0cbcc94cf0df353f..c0212a6f123b7b1df6567939223cbce878d1df94 100644 (file)
@@ -703,7 +703,8 @@ void DolphinMainWindow::toggleShowMenuBar()
 void DolphinMainWindow::editSettings()
 {
     if (m_settingsDialog == 0) {
-        m_settingsDialog = new DolphinSettingsDialog(this);
+        const KUrl& url = activeViewContainer()->url();
+        m_settingsDialog = new DolphinSettingsDialog(url, this);
         m_settingsDialog->setAttribute(Qt::WA_DeleteOnClose);
         m_settingsDialog->show();
     } else {