svn path=/trunk/KDE/kdebase/apps/; revision=744491
const QString rightTags = DolphinModel::tagsForIndex(right);
if (leftTags.isEmpty() && !rightTags.isEmpty())
const QString rightTags = DolphinModel::tagsForIndex(right);
if (leftTags.isEmpty() && !rightTags.isEmpty())
- return -1;
- else if (!leftTags.isEmpty() && rightTags.isEmpty())
+ else if (!leftTags.isEmpty() && rightTags.isEmpty())
+ return -1;
return naturalCompare(DolphinModel::tagsForIndex(left), DolphinModel::tagsForIndex(right)) < 0;
}
return naturalCompare(DolphinModel::tagsForIndex(left), DolphinModel::tagsForIndex(right)) < 0;
}