// 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);
actionCollection()->addAction("show_info_panel", infoDock->toggleViewAction());
addDockWidget(Qt::RightDockWidgetArea, infoDock);
- connectSidebarPage(infoWidget);*/
+ connectSidebarPage(infoWidget);
// setup "Tree View"
QDockWidget* treeViewDock = new QDockWidget(i18n("Folders"));
const bool firstRun = DolphinSettings::instance().generalSettings()->firstRun();
if (firstRun) {
- //infoDock->hide();
+ infoDock->hide();
treeViewDock->hide();
}
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)