summaryrefslogtreecommitdiff
path: root/math/qalculate-kde/patches/patch-src_qalculateeditfunctiondialog.cpp
blob: da36ca04862a96cfba67f05aa5fc26d8cd4923c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-src_qalculateeditfunctiondialog.cpp,v 1.1 2012/11/23 12:10:29 joerg Exp $

--- src/qalculateeditfunctiondialog.cpp.orig	2012-11-19 17:10:32.000000000 +0000
+++ src/qalculateeditfunctiondialog.cpp
@@ -377,10 +377,10 @@ MathFunction *QalculateEditFunctionDialo
 				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 *i2 = new KListViewItem(argumentsView, i_prev, str2, str);
+			i_prev = i2;
+			argumentsItems[i2] = arg;
+			argumentsItemsEdited[i2] = false;
 		}
 	}
 	argumentsView->setResizeMode(KListView::AllColumns);