LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File krecipes-gcc47.patch of Package krecipes (Project KDE:KDE3)

diff -wruN krecipes-1.0-beta2.orig/krecipes/src/dialogs/ingredientsdialog.cpp krecipes-1.0-beta2/krecipes/src/dialogs/ingredientsdialog.cpp
--- krecipes-1.0-beta2.orig/krecipes/src/dialogs/ingredientsdialog.cpp	2009-04-23 01:49:34.000000000 +0400
+++ krecipes-1.0-beta2/krecipes/src/dialogs/ingredientsdialog.cpp	2012-05-03 06:02:19.418846700 +0400
@@ -551,12 +551,12 @@
 			QListViewItem * lastElement = weightsListView->listView() ->lastItem();
 
 			Weight w = *weight_it;
-			WeightListItem *weight_it = new WeightListItem( weightsListView->listView(), lastElement, w );
-			weight_it->setAmountUnit( w.perAmount,
+			WeightListItem *weight_it1 = new WeightListItem( weightsListView->listView(), lastElement, w );
+			weight_it1->setAmountUnit( w.perAmount,
 			  database->unitName(w.perAmountUnitID),
 			  Element((w.prepMethodID==-1)?QString::null:database->prepMethodName(w.prepMethodID),w.prepMethodID)
 			);
-			weight_it->setWeightUnit( w.weight, database->unitName(w.weightUnitID) );
+			weight_it1->setWeightUnit( w.weight, database->unitName(w.weightUnitID) );
 		}
 	}
 }