summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/addresstablemodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/addresstablemodel.cpp b/src/gui/addresstablemodel.cpp
index 9fc21fc..dc86660 100644
--- a/src/gui/addresstablemodel.cpp
+++ b/src/gui/addresstablemodel.cpp
@@ -115,7 +115,7 @@ void AddressTableModel::sort(int column, Qt::SortOrder order)
retval = a1.sip_address.compare(a2.sip_address) < 0;
break;
case COL_ADDR_REMARK:
- retval = a1.remark.compare(a2.remark) < 0;
+ retval = QString::fromStdString(a1.remark) < QString::fromStdString(a2.remark);
break;
}