┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinview.h
diff options
context:
space:
mode:
authorFrank Reininghaus <[email protected]>2013-06-22 09:27:37 +0200
committerFrank Reininghaus <[email protected]>2013-06-22 09:27:37 +0200
commit5a647117abf1fd6ab7ef26cfa3f54aee96f27fce (patch)
tree002eebee854deeef0bb3f58094ccf55ae1c335e0 /src/views/dolphinview.h
parent0d6bf0359872deeabde854cc14af558281a078a6 (diff)
Make sure that changing the view mode does not fail
This commit ensures that changing the view mode works even if the .directory file in the user's KDE folder is not writable. BUG: 318534 FIXED-IN: 4.11.0 REVIEW: 111120
Diffstat (limited to 'src/views/dolphinview.h')
-rw-r--r--src/views/dolphinview.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h
index e5e9834b9..86bc5c159 100644
--- a/src/views/dolphinview.h
+++ b/src/views/dolphinview.h
@@ -709,11 +709,18 @@ private:
/**
* Applies the view properties which are defined by the current URL
- * to the DolphinView properties.
+ * to the DolphinView properties. The view properties are read from a
+ * .directory file either in the current directory, or in the
+ * share/apps/dolphin/view_properties/ subfolder of the user's .kde folder.
*/
void applyViewProperties();
/**
+ * Applies the given view properties to the DolphinView.
+ */
+ void applyViewProperties(const ViewProperties& props);
+
+ /**
* Applies the m_mode property to the corresponding
* itemlayout-property of the KItemListView.
*/