summaryrefslogtreecommitdiffstats
path: root/krecipes/src/dialogs
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-07-31 16:32:17 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-07-31 16:32:17 +0200
commit40d6261f7d30d372f6a0c9ffdd9fe1cd5b1d1002 (patch)
tree605c18ec74560c8a8835e21d2069830b409de142 /krecipes/src/dialogs
parent301c1da0c7d93da1f0d8d81e1c5c8d4e677067c2 (diff)
downloadkrecipes-40d6261f7d30d372f6a0c9ffdd9fe1cd5b1d1002.tar.gz
krecipes-40d6261f7d30d372f6a0c9ffdd9fe1cd5b1d1002.zip
Update autotools for new DSO linkage style
Fix FTBFS
Diffstat (limited to 'krecipes/src/dialogs')
-rw-r--r--krecipes/src/dialogs/ingredientsdialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/krecipes/src/dialogs/ingredientsdialog.cpp b/krecipes/src/dialogs/ingredientsdialog.cpp
index 231d087..ab7012a 100644
--- a/krecipes/src/dialogs/ingredientsdialog.cpp
+++ b/krecipes/src/dialogs/ingredientsdialog.cpp
@@ -551,12 +551,12 @@ void IngredientsDialog::reloadWeightList( void )
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) );
}
}
}