Commit 716808d9 authored by Eike Ziller's avatar Eike Ziller

Add Home folder to file system view

Change-Id: I580475e06dafe835512d078fec30f59d4e798438
Reviewed-by: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
parent 08aa8338
......@@ -353,6 +353,9 @@ FolderNavigationWidgetFactory::FolderNavigationWidgetFactory()
setActivationSequence(QKeySequence(Core::UseMacShortcuts ? tr("Meta+Y") : tr("Alt+Y")));
addRootDirectory(
{QLatin1String("A.Computer"), FolderNavigationWidget::tr("Computer"), Utils::FileName()});
addRootDirectory({QLatin1String("A.Home"),
FolderNavigationWidget::tr("Home"),
Utils::FileName::fromString(QDir::homePath())});
}
Core::NavigationView FolderNavigationWidgetFactory::createWidget()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment