Changeset View
Changeset View
Standalone View
Standalone View
updateview_items.cpp
Context not available. | |||||
614 | return entry().m_name.localeAwareCompare(item.entry().m_name) < 0; | 614 | return entry().m_name.localeAwareCompare(item.entry().m_name) < 0; | ||
---|---|---|---|---|---|
615 | 615 | | |||
616 | case Status: | 616 | case Status: | ||
617 | if (::compare(statusClass(), item.statusClass()) == 0) | 617 | { | ||
618 | int compareResult = ::compare(statusClass(), item.statusClass()); | ||||
619 | if (compareResult == 0) | ||||
618 | return entry().m_name.localeAwareCompare(item.entry().m_name) < 0; | 620 | return entry().m_name.localeAwareCompare(item.entry().m_name) < 0; | ||
619 | else | 621 | else | ||
620 | return false; | 622 | return compareResult < 0; | ||
623 | } | ||||
621 | 624 | | |||
622 | case Revision: | 625 | case Revision: | ||
623 | return ::compareRevisions(entry().m_revision, item.entry().m_revision) < 0; | 626 | return ::compareRevisions(entry().m_revision, item.entry().m_revision) < 0; | ||
Context not available. |