diff options
| author | Thomas Tanner <trtanner@btinternet.com> | 2015-11-25 08:22:40 +0000 |
|---|---|---|
| committer | Thomas Tanner <trtanner@btinternet.com> | 2015-11-25 08:22:40 +0000 |
| commit | 78b686b2bc507a5606bc7c673745b02346bc667a (patch) | |
| tree | d161d6096289aed99cfb1bf79cce4c2404c202dd /src/loadmechanism.cpp | |
| parent | 42a68689fe60ba29367dc0c8f65083d9bde93e1f (diff) | |
Removes all references to GameInfo::getGameDirectory apart from one during startup
Did some const correctness improvements
Also may have fixed a potential crash as the Profile copy constructor didn't copy the m_GamePlugin membber
Diffstat (limited to 'src/loadmechanism.cpp')
| -rw-r--r-- | src/loadmechanism.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/loadmechanism.cpp b/src/loadmechanism.cpp index 4d06bea9..0d95c51c 100644 --- a/src/loadmechanism.cpp +++ b/src/loadmechanism.cpp @@ -64,6 +64,7 @@ void LoadMechanism::removeHintFile(QDir &targetDirectory) bool LoadMechanism::isDirectLoadingSupported()
{
+ //FIXME: Seriously? isn't there a 'do i need steam' thing?
IPluginGame *game = qApp->property("managed_game").value<IPluginGame*>();
if (game->gameName().compare("oblivion", Qt::CaseInsensitive) == 0) {
// oblivion can be loaded directly if it's not the steam variant
|
