diff options
| author | Peter Penz <[email protected]> | 2012-05-09 15:49:14 +0200 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2012-05-09 15:50:54 +0200 |
| commit | 6150ac5d5d8e2d10a30381407cec550ff0aa392c (patch) | |
| tree | bfe220de710ea08b8a01b81a8f48e81d0c02bc53 /src/views/viewproperties.h | |
| parent | 9641672247fad1ce4aa0eb31631db40900884248 (diff) | |
Assure backward compatibility for the sort-role
Dolphin 2.1 uses "text" instead of "name" as default-role. Provide
backward compatibility with older .directory files and assure
that they get updated.
Diffstat (limited to 'src/views/viewproperties.h')
| -rw-r--r-- | src/views/viewproperties.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/views/viewproperties.h b/src/views/viewproperties.h index cfa98e9e4..97fb7cdba 100644 --- a/src/views/viewproperties.h +++ b/src/views/viewproperties.h @@ -145,14 +145,14 @@ private: * Dolphin < 2.0: Converts the old additionalInfo-property into * the visibleRoles-property and clears the additionalInfo-property. */ - QStringList convertAdditionalInfo(); + void convertAdditionalInfo(); /** * Provides backward compatibility with .directory files created with * Dolphin < 2.1: Converts the old name-role "name" to the generic * role "text". */ - QStringList convertNameRole(); + void convertNameRoleToTextRole(); /** * Returns true, if \a filePath is part of the home-path (see QDir::homePath()). |
