[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 307585] Sorting is too cpu intensive for big folders
From:       Frank Reininghaus <frank78ac () googlemail ! com>
Date:       2012-09-30 13:49:18
Message-ID: bug-307585-17878-ulxLi7IYx6 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=307585

--- Comment #10 from Frank Reininghaus <frank78ac@googlemail.com> ---
(In reply to comment #9)
> The cleanest way is to overload KFileItem and add operator overloading for
> the < operator.

I fail to see how you would tell such an overloaded operator about the sort
role and sort order.

> So i'm tempted to do a dirty way now just to get it working.

Before you waste time on a dirty hack which cannot be included in Dolphin
anyway, I recommend again to examine the git history. When you work on code
that you think is not good, you should always find out first why the code is
like it is. There might be a good reason for the design choices that is not
obvious when you just look at the code.

-- 
You are receiving this mail because:
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic