Commit 285fbb57 authored by Roman Lebedev's avatar Roman Lebedev Committed by Nate Graham
Browse files

Change root of Files view to root directory

Currently the "Files" view is rooted in `~`, and you can not step out of
that directory. This is problematic because it hardcodes an assumption
that everything everyone would want to access is within that directory.

BUG: 420895
FIXED-IN: 22.08
parent b5f8ef75
Pipeline #184501 passed with stage
in 9 minutes and 52 seconds
......@@ -130,7 +130,7 @@ public:
ViewManager::DelegateWithoutSecondaryText,
ViewManager::ViewHideRating,
ViewManager::IsFlatModel,
QUrl::fromLocalFile(QDir::homePath())
QUrl::fromLocalFile(QDir::rootPath())
},
{{i18nc("Title of the file radios browser view", "Radio Stations")},
QUrl{QStringLiteral("image://icon/radio")},
......
Supports Markdown
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