From e0bef260dab8e47d015c1bfc12fc7da281d1c5fe Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 15 Oct 2008 06:03:41 +0000 Subject: [PATCH] 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: frankreininghaus@web.de> svn path=/trunk/KDE/kdebase/apps/; revision=871525 --- src/dolphinmainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.47.3