Commit f024c3c0 authored by Kevin Funk's avatar Kevin Funk

Revert some hunks from previous commit

Changes in folderspanel.cpp in 464b13f3 were unintended.
parent a6db5029
......@@ -91,7 +91,7 @@ void FoldersPanel::setLimitFoldersPanelToHome(bool enable)
bool FoldersPanel::limitFoldersPanelToHome() const
{
return limitFoldersPanelToHome();
return FoldersPanelSettings::limitFoldersPanelToHome();
}
void FoldersPanel::setAutoScrolling(bool enable)
......@@ -325,7 +325,7 @@ void FoldersPanel::loadTree(const QUrl& url)
QUrl baseUrl;
if (url.isLocalFile()) {
const bool isInHomeFolder = Dolphin::homeUrl().isParentOf(url) || (Dolphin::homeUrl() == url);
if (limitFoldersPanelToHome() && isInHomeFolder) {
if (FoldersPanelSettings::limitFoldersPanelToHome() && isInHomeFolder) {
baseUrl = Dolphin::homeUrl();
} else {
// Use the root directory as base for local URLs (#150941)
......
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