summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Brière <fbriere@fbriere.net>2016-10-01 16:21:43 -0400
committerFrédéric Brière <fbriere@fbriere.net>2016-10-03 20:36:45 -0400
commit52c818202c3ad252ef29a7f2706ad374e03be3d2 (patch)
tree1107c01be7936f99d9be68b0aa01574ab6d54044
parent216300dc1ae252ed517a5d9c2879cf94321a5b4b (diff)
downloadtwinkle-52c818202c3ad252ef29a7f2706ad374e03be3d2.tar
twinkle-52c818202c3ad252ef29a7f2706ad374e03be3d2.tar.gz
twinkle-52c818202c3ad252ef29a7f2706ad374e03be3d2.tar.lz
twinkle-52c818202c3ad252ef29a7f2706ad374e03be3d2.tar.xz
twinkle-52c818202c3ad252ef29a7f2706ad374e03be3d2.zip
Display number conversions in forward order for UserProfileForm
-rw-r--r--src/gui/userprofileform.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/userprofileform.cpp b/src/gui/userprofileform.cpp
index c172415..c5d6b41 100644
--- a/src/gui/userprofileform.cpp
+++ b/src/gui/userprofileform.cpp
@@ -596,7 +596,7 @@ void UserProfileForm::populate()
conversionListView->setRowCount(conversions.size());
int j = 0;
- for (list<t_number_conversion>::reverse_iterator i = conversions.rbegin(); i != conversions.rend(); i++, j++)
+ for (list<t_number_conversion>::iterator i = conversions.begin(); i != conversions.end(); i++, j++)
{
QTableWidgetItem* item = new QTableWidgetItem(QString::fromStdString(i->re));
conversionListView->setItem(j, 0, item);