mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-22 12:39:59 +00:00
Merge pull request #1370 from Siimacore/data_files_loc_fix
Correcting https://bugs.openmw.org/issues/3906.
This commit is contained in:
commit
551045e4cc
@ -172,7 +172,10 @@ Launcher::FirstRunDialogResult Launcher::MainDialog::showFirstRunDialog()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return setup() ? FirstRunDialogResultContinue : FirstRunDialogResultFailure;
|
if (!setup() || !setupGameData()) {
|
||||||
|
return FirstRunDialogResultFailure;
|
||||||
|
}
|
||||||
|
return FirstRunDialogResultContinue;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Launcher::MainDialog::setVersionLabel()
|
void Launcher::MainDialog::setVersionLabel()
|
||||||
@ -344,6 +347,11 @@ 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
|
||||||
|
@ -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…
x
Reference in New Issue
Block a user