┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-10-15 06:03:41 +0000
committerPeter Penz <[email protected]>2008-10-15 06:03:41 +0000
commite0bef260dab8e47d015c1bfc12fc7da281d1c5fe (patch)
tree1e408b71735d723c9665970112484469fad21930 /src/dolphinmainwindow.cpp
parent256f361e40e1af4a2da95930669cae4af48e78fb (diff)
Assure that the docks get informed about an URL change before the GUI is setup (thanks to Frank Reininghaus for the patch!). This prevents that slots from the docks are called with invalid URLs.
BUG: 169103 CCMAIL: [email protected]> svn path=/trunk/KDE/kdebase/apps/; revision=871525
Diffstat (limited to 'src/dolphinmainwindow.cpp')
-rw-r--r--src/dolphinmainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp
index 20d130ed3..618676935 100644
--- a/src/dolphinmainwindow.cpp
+++ b/src/dolphinmainwindow.cpp
@@ -837,6 +837,7 @@ void DolphinMainWindow::init()
setCentralWidget(centralWidget);
setupDockWidgets();
+ emit urlChanged(homeUrl);
setupGUI(Keys | Save | Create | ToolBar);
@@ -862,7 +863,6 @@ void DolphinMainWindow::init()
}
m_showMenuBar->setChecked(!menuBar()->isHidden()); // workaround for bug #171080
- emit urlChanged(homeUrl);
}
void DolphinMainWindow::setActiveViewContainer(DolphinViewContainer* viewContainer)