|
|
@ -172,9 +172,6 @@ Launcher::FirstRunDialogResult Launcher::MainDialog::showFirstRunDialog()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if(!setupGameData())
|
|
|
|
|
|
|
|
return FirstRunDialogResultFailure;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return setup() ? FirstRunDialogResultContinue : FirstRunDialogResultFailure;
|
|
|
|
return setup() ? FirstRunDialogResultContinue : FirstRunDialogResultFailure;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -347,10 +344,6 @@ bool Launcher::MainDialog::setupGameSettings()
|
|
|
|
file.close();
|
|
|
|
file.close();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool Launcher::MainDialog::setupGameData() {
|
|
|
|
|
|
|
|
QStringList dataDirs;
|
|
|
|
QStringList dataDirs;
|
|
|
|
|
|
|
|
|
|
|
|
// Check if the paths actually contain data files
|
|
|
|
// Check if the paths actually contain data files
|
|
|
@ -386,6 +379,7 @@ bool Launcher::MainDialog::setupGameData() {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|