Prettified and correctly sortified user categories, closing BR #93. Translators can now
[quassel.git] / src / client / treemodel.cpp
index ace9d3d..65310a6 100644 (file)
@@ -247,6 +247,7 @@ QVariant PropertyMapItem::data(int column, int role) const {
   case Qt::ToolTipRole:
     return toolTip(column);
   case Qt::DisplayRole:
+  case TreeModel::SortRole:  // fallthrough, since SortRole should default to DisplayRole
     return property(_propertyOrder[column].toAscii());
   default:
     return QVariant();