forked from mirror/openmw-tes3mp
Correcting https://bugs.openmw.org/issues/3906
This commit is contained in:
parent
dd882b69c6
commit
b0abed00e5
2 changed files with 8 additions and 1 deletions
|
@ -172,6 +172,9 @@ Launcher::FirstRunDialogResult Launcher::MainDialog::showFirstRunDialog()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!setupGameData())
|
||||||
|
return FirstRunDialogResultFailure;
|
||||||
|
|
||||||
return setup() ? FirstRunDialogResultContinue : FirstRunDialogResultFailure;
|
return setup() ? FirstRunDialogResultContinue : FirstRunDialogResultFailure;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -344,6 +347,10 @@ 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
|
||||||
|
@ -379,7 +386,6 @@ bool Launcher::MainDialog::setupGameSettings()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -72,6 +72,7 @@ namespace Launcher
|
||||||
bool setupLauncherSettings();
|
bool setupLauncherSettings();
|
||||||
bool setupGameSettings();
|
bool setupGameSettings();
|
||||||
bool setupGraphicsSettings();
|
bool setupGraphicsSettings();
|
||||||
|
bool setupGameData();
|
||||||
|
|
||||||
void setVersionLabel();
|
void setVersionLabel();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue