From: Peter Penz Date: Wed, 15 Oct 2008 06:03:41 +0000 (+0000) Subject: Assure that the docks get informed about an URL change before the GUI is setup (thank... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/e0bef260dab8e47d015c1bfc12fc7da281d1c5fe 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 --- 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)