summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFrédéric Brière <fbriere@fbriere.net>2016-10-01 16:12:34 -0400
committerFrédéric Brière <fbriere@fbriere.net>2016-10-03 20:36:17 -0400
commitbe39682cd2cbb7840270c29e89a6d8f9badc69ad (patch)
tree9cb42d024c3c0b2f71c67331c71396dbaaa8d464 /src
parent77804f2cf9fdac04623411e85d2133ffdbf1d552 (diff)
downloadtwinkle-be39682cd2cbb7840270c29e89a6d8f9badc69ad.tar
twinkle-be39682cd2cbb7840270c29e89a6d8f9badc69ad.tar.gz
twinkle-be39682cd2cbb7840270c29e89a6d8f9badc69ad.tar.lz
twinkle-be39682cd2cbb7840270c29e89a6d8f9badc69ad.tar.xz
twinkle-be39682cd2cbb7840270c29e89a6d8f9badc69ad.zip
List users in forward order in SelectUserForm::show()
Diffstat (limited to 'src')
-rw-r--r--src/gui/selectuserform.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/selectuserform.cpp b/src/gui/selectuserform.cpp
index 6568114..e375780 100644
--- a/src/gui/selectuserform.cpp
+++ b/src/gui/selectuserform.cpp
@@ -96,7 +96,7 @@ void SelectUserForm::show(t_select_purpose purpose)
// Fill list view
list<t_user *> user_list = phone->ref_users();
- for (list<t_user *>::reverse_iterator i = user_list.rbegin(); i != user_list.rend(); i++) {
+ for (list<t_user *>::iterator i = user_list.begin(); i != user_list.end(); i++) {
QListWidgetItem* item = new QListWidgetItem(QString::fromStdString((*i)->get_profile_name()), userListView);
item->setFlags(item->flags() | Qt::ItemIsUserCheckable);