-rw-r--r-- | libopie2/opiepim/private/opimcontactsortvector.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libopie2/opiepim/private/opimcontactsortvector.cpp b/libopie2/opiepim/private/opimcontactsortvector.cpp index 9e186fe..8c7d5ca 100644 --- a/libopie2/opiepim/private/opimcontactsortvector.cpp +++ b/libopie2/opiepim/private/opimcontactsortvector.cpp | |||
@@ -43,5 +43,5 @@ int OPimContactSortVector::compareItems( const OPimContact& left, | |||
43 | bool soTitle, soSummary, soFirstName, soMiddleName, soSuffix, soEmail, | 43 | bool soTitle, soSummary, soFirstName, soMiddleName, soSuffix, soEmail, |
44 | soNick, soAnni, soBirth, soGender; | 44 | soNick, soFileAs, soAnni, soBirth, soGender; |
45 | soTitle = soSummary = soFirstName = soMiddleName = soSuffix = soEmail = | 45 | soTitle = soSummary = soFirstName = soMiddleName = soSuffix = soEmail = |
46 | soNick = soAnni = soBirth = soGender = false; | 46 | soNick = soFileAs = soAnni = soBirth = soGender = false; |
47 | int ret = 0; | 47 | int ret = 0; |
@@ -78,2 +78,6 @@ int OPimContactSortVector::compareItems( const OPimContact& left, | |||
78 | break; | 78 | break; |
79 | case OPimContactAccess::SortFileAsName: | ||
80 | ret = testString( left.fileAs(), right.fileAs() ); | ||
81 | soFileAs = true; | ||
82 | break; | ||
79 | case OPimContactAccess::SortAnniversary: | 83 | case OPimContactAccess::SortAnniversary: |