From e45a218d4883c87b7d231fe4d0a8390cd2db0ba5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 9 Apr 2016 19:22:27 +0200 Subject: Fix FTBFS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/qalculateeditfunctiondialog.cpp | 8 ++++---- 1 file 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); -- cgit v1.2.1