diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-12-08 17:44:42 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-12-08 17:44:42 +0900 |
commit | 3489b77bba1b9429925dfe9539c2a9e8137fc622 (patch) | |
tree | 59a7cb3bc7b25eee12a37c43db4c069b7c240464 /lib/connection.cpp | |
parent | 39204f0099e5556eb46bed00f3b31413af860a45 (diff) | |
parent | 5ea115d6eb0b60dfd0c2be5fbe5e69615b133238 (diff) | |
download | libquotient-3489b77bba1b9429925dfe9539c2a9e8137fc622.tar.gz libquotient-3489b77bba1b9429925dfe9539c2a9e8137fc622.zip |
Merge branch 'kitsune-tweaks-fixes'
Diffstat (limited to 'lib/connection.cpp')
-rw-r--r-- | lib/connection.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connection.cpp b/lib/connection.cpp index 9372acd5..26c33767 100644 --- a/lib/connection.cpp +++ b/lib/connection.cpp @@ -825,7 +825,7 @@ QHash<QString, QVector<Room*>> Connection::tagsToRooms() const for (auto it = result.begin(); it != result.end(); ++it) std::sort(it->begin(), it->end(), [t=it.key()] (Room* r1, Room* r2) { - return r1->tags().value(t).order < r2->tags().value(t).order; + return r1->tags().value(t) < r2->tags().value(t); }); return result; } |