From 6150ac5d5d8e2d10a30381407cec550ff0aa392c Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 9 May 2012 15:49:14 +0200 Subject: 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. --- src/views/viewproperties.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/views/viewproperties.h') 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()). -- cgit v1.3.1