diff options
| author | Peter Penz <[email protected]> | 2007-04-22 21:27:40 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-04-22 21:27:40 +0000 |
| commit | 0c056817089182aba8221771557683f921d0fc91 (patch) | |
| tree | e909fb9eeb1854dd72ebe61e0ef8eb077358ccab /src | |
| parent | a195131147f7f82d469fbd568d09b45e4868ed59 (diff) | |
reactivated info sidebar again and temporary removed the code which resets the URL after starting Dolphin
svn path=/trunk/KDE/kdebase/apps/; revision=656979
Diffstat (limited to 'src')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 5 | ||||
| -rw-r--r-- | src/infosidebarpage.cpp | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 1c3d6789b..6eb4fa94e 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -1274,7 +1274,6 @@ void DolphinMainWindow::setupDockWidgets() // TODO: temporary deactivated info sidebar because of some minor side effects - /* QDockWidget* infoDock = new QDockWidget(i18n("Information")); infoDock->setObjectName("infoDock"); infoDock->setAllowedAreas(Qt::LeftDockWidgetArea | Qt::RightDockWidgetArea); @@ -1285,7 +1284,7 @@ void DolphinMainWindow::setupDockWidgets() actionCollection()->addAction("show_info_panel", infoDock->toggleViewAction()); addDockWidget(Qt::RightDockWidgetArea, infoDock); - connectSidebarPage(infoWidget);*/ + connectSidebarPage(infoWidget); // setup "Tree View" QDockWidget* treeViewDock = new QDockWidget(i18n("Folders")); @@ -1302,7 +1301,7 @@ void DolphinMainWindow::setupDockWidgets() const bool firstRun = DolphinSettings::instance().generalSettings()->firstRun(); if (firstRun) { - //infoDock->hide(); + infoDock->hide(); treeViewDock->hide(); } diff --git a/src/infosidebarpage.cpp b/src/infosidebarpage.cpp index 47e350ab0..e4ca55b47 100644 --- a/src/infosidebarpage.cpp +++ b/src/infosidebarpage.cpp @@ -129,10 +129,16 @@ void InfoSidebarPage::setUrl(const KUrl& url) void InfoSidebarPage::setSelection(const KFileItemList& selection) { - cancelRequest(); + // TODO: deactivated the following code, as it has side effects. To + // reproduce start Dolphin and open a folder -> the URL navigator gets + // reset. First guess: it seems that a setUrl signal is emitted + // by the following code + + Q_UNUSED(selection); + /*cancelRequest(); m_currentSelection = selection; m_multipleSelection = (m_currentSelection.size() > 1); - showItemInfo(); + showItemInfo();*/ } void InfoSidebarPage::requestDelayedItemInfo(const KUrl& url) |
