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

           Summary: KTelepathy operator< code is nonsense
           Product: telepathy
           Version: unspecified
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: NOR
         Component: common-internals
        AssignedTo: [email protected]
        ReportedBy: [email protected]


it constructs a lookup table each time, and this is incorrectly called
m_presenceSorting despite not being a member variable. Result of bad
copy+pasting.

---

Needs moving to static variable, with a static initialiser. (and probably a
static bool to say it's been initialised).

OR

get rid of the hash and replace it with a private method that returns an int
based on a switch statement.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
KDE-Telepathy mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-telepathy

Reply via email to