diff options
| author | Peter Penz <[email protected]> | 2010-09-22 18:10:45 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2010-09-22 18:10:45 +0000 |
| commit | 5517e4cf10c8aee590b404072aebaffb55bafec3 (patch) | |
| tree | 5e1a206d7d700cc5333c4b445fffd4f1cc98a92e /src/views/viewproperties.h | |
| parent | 1f45355b7dab5377ef2f504289210e4374576f7e (diff) | |
If 'remember view-properties' is selected, store the .directory files only if the directory is part of the home-path. Otherwise use the mirror in ~/.kde/share/apps/dolphin/view_properties to store the .directory file. This prevents conflicting view-properties if several users have write-access to a common directory.
BUG: 63347
FIXED-IN: 4.6.0
svn path=/trunk/KDE/kdebase/apps/; revision=1178321
Diffstat (limited to 'src/views/viewproperties.h')
| -rw-r--r-- | src/views/viewproperties.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/views/viewproperties.h b/src/views/viewproperties.h index 2db67c0f3..787122d35 100644 --- a/src/views/viewproperties.h +++ b/src/views/viewproperties.h @@ -149,6 +149,11 @@ private: */ QString viewModePrefix() const; + /** + * Returns true, if \a filePath is part of the home-path (see QDir::homePath()). + */ + static bool isPartOfHome(const QString& filePath); + Q_DISABLE_COPY(ViewProperties) private: |
