Fix char -> int, fix shadowing warning

pull/89/head
scrawl 8 years ago
parent cac8de0b29
commit e0f613661e

@ -238,7 +238,7 @@ namespace MWScript
else else
{ {
char type = declarations.getType (iter->first); char type = declarations.getType (iter->first);
char index2 = declarations.getIndex (iter->first); int index2 = declarations.getIndex (iter->first);
try try
{ {

@ -24,7 +24,7 @@ Wizard::ComponentSelectionPage::ComponentSelectionPage(QWidget *parent) :
} }
void Wizard::ComponentSelectionPage::updateButton(QListWidgetItem *item) void Wizard::ComponentSelectionPage::updateButton(QListWidgetItem*)
{ {
if (field(QLatin1String("installation.new")).toBool() == true) if (field(QLatin1String("installation.new")).toBool() == true)
return; // Morrowind is always checked here return; // Morrowind is always checked here

Loading…
Cancel
Save