summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-04-09 19:22:27 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-04-09 19:22:27 +0200
commite45a218d4883c87b7d231fe4d0a8390cd2db0ba5 (patch)
tree4cc493694b381bb93e93e82945713cd45d355f38
parent65e4a2c516bec4af7b7e5c4980c1c2a3666c08a8 (diff)
downloadqalculate-tde-e45a218d4883c87b7d231fe4d0a8390cd2db0ba5.tar.gz
qalculate-tde-e45a218d4883c87b7d231fe4d0a8390cd2db0ba5.zip
Fix FTBFS
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--src/qalculateeditfunctiondialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qalculateeditfunctiondialog.cpp b/src/qalculateeditfunctiondialog.cpp
index 5c908c6..5bb2e85 100644
--- a/src/qalculateeditfunctiondialog.cpp
+++ b/src/qalculateeditfunctiondialog.cpp
@@ -377,10 +377,10 @@ MathFunction *QalculateEditFunctionDialog::editFunction(QString category, MathFu
str = defarg.printlong().c_str();
str2 = "";
}
- QListViewItem *i = new KListViewItem(argumentsView, i_prev, str2, str);
- i_prev = i;
- argumentsItems[i] = arg;
- argumentsItemsEdited[i] = false;
+ QListViewItem *i_new = new KListViewItem(argumentsView, i_prev, str2, str);
+ i_prev = i_new;
+ argumentsItems[i_new] = arg;
+ argumentsItemsEdited[i_new] = false;
}
}
argumentsView->setResizeMode(KListView::AllColumns);