diff options
| author | Thomas Tanner <trtanner@btinternet.com> | 2015-11-28 14:53:32 +0000 |
|---|---|---|
| committer | Thomas Tanner <trtanner@btinternet.com> | 2015-11-28 14:53:32 +0000 |
| commit | 9e2bcffc32157b99a2d7364b869a4423ba827a32 (patch) | |
| tree | 0983cb8b1b915c016d39b9e2632562fcc813b40b /src/settingsdialog.cpp | |
| parent | ca54ee2e9a8f1d49d81d5c3b66a860b9b16992d6 (diff) | |
Reworked startup considerably so now no longer dependant on GameInfo
Did some const correctness to the "managed_game" property as you shouldn't really be altering the plugin details whilst MO is running
Diffstat (limited to 'src/settingsdialog.cpp')
| -rw-r--r-- | src/settingsdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settingsdialog.cpp b/src/settingsdialog.cpp index c7f15dc9..8bc1dbc6 100644 --- a/src/settingsdialog.cpp +++ b/src/settingsdialog.cpp @@ -89,7 +89,7 @@ void SettingsDialog::on_categoriesBtn_clicked() void SettingsDialog::on_bsaDateBtn_clicked() { - IPluginGame *game = qApp->property("managed_game").value<IPluginGame*>(); + IPluginGame const *game = qApp->property("managed_game").value<IPluginGame const *>(); QDir dir = game->dataDirectory(); Helper::backdateBSAs(qApp->property("dataPath").toString().toStdWString(), |
