diff options
| author | LostDragonist <lost.dragonist@gmail.com> | 2018-12-24 00:59:54 -0600 |
|---|---|---|
| committer | LostDragonist <lost.dragonist@gmail.com> | 2018-12-24 00:59:54 -0600 |
| commit | ce02da497a1d18228bd3c31924212a5a432f1ab7 (patch) | |
| tree | 643d4cf07d78d1287691b0fdad39687065428a89 /src/profile.cpp | |
| parent | fcff329c1e5529bbceaf46592c30cd87dc6a6f44 (diff) | |
Prevent missing INI dialog from popping up when creating a new instance with archive invalidation
Diffstat (limited to 'src/profile.cpp')
| -rw-r--r-- | src/profile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profile.cpp b/src/profile.cpp index 8eb1c49a..d65ea255 100644 --- a/src/profile.cpp +++ b/src/profile.cpp @@ -85,7 +85,6 @@ Profile::Profile(const QString &name, IPluginGame const *gamePlugin, bool useDef m_Directory = QDir(fullPath); m_Settings = new QSettings(m_Directory.absoluteFilePath("settings.ini"), QSettings::IniFormat); - findProfileSettings(); try { // create files. Needs to happen after m_Directory was set! @@ -101,6 +100,7 @@ Profile::Profile(const QString &name, IPluginGame const *gamePlugin, bool useDef } gamePlugin->initializeProfile(fullPath, settings); + findProfileSettings(); } catch (...) { // clean up in case of an error shellDelete(QStringList(profileBase.absoluteFilePath(fixedName))); |
