diff options
Diffstat (limited to 'qt-models')
-rw-r--r-- | qt-models/divelocationmodel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-models/divelocationmodel.cpp b/qt-models/divelocationmodel.cpp index 774a9b2d7..794302fe2 100644 --- a/qt-models/divelocationmodel.cpp +++ b/qt-models/divelocationmodel.cpp @@ -7,9 +7,9 @@ #include <QIcon> #include <core/gettextfromc.h> -bool dive_site_less_than(dive_site *a, dive_site *b) +static bool dive_site_less_than(dive_site *a, dive_site *b) { - return QString(a->name) <= QString(b->name); + return QString(a->name) < QString(b->name); } LocationInformationModel *LocationInformationModel::instance() |