Whenever we are trying to sort, bypass lessThanGeneralPurpose when is not allowed to sort by categories. This will result as bad sortings on Detailed and in

Column views.

CCMAIL: peter.penz@gmx.at

svn path=/trunk/KDE/kdebase/apps/; revision=717022
This commit is contained in:
Rafael Fernández López 2007-09-25 21:17:18 +00:00
parent 93f8093b66
commit 2c689ca4f7

View file

@ -219,7 +219,12 @@ bool DolphinView::showHiddenFiles() const
void DolphinView::setCategorizedSorting(bool categorized)
{
if (!supportsCategorizedSorting() || (categorized == categorizedSorting())) {
if (categorized && !supportsCategorizedSorting()) {
setCategorizedSorting(false);
return;
}
if (categorized == categorizedSorting()) {
return;
}