diff options
| author | Thomas Tanner <trtanner@btinternet.com> | 2015-12-25 21:57:23 +0000 |
|---|---|---|
| committer | Thomas Tanner <trtanner@btinternet.com> | 2015-12-25 21:57:23 +0000 |
| commit | 3869eaaf2bfacf4a44733b8346d790999588c37f (patch) | |
| tree | ac83109ee9d5036920022565405783384debcd5a /src/savegameinfowidgetgamebryo.cpp | |
| parent | 6edf12f2f7089364611c7f979ad20fa867604477 (diff) | |
Transferring the savegame widget into gamebryo + some cleanup
Diffstat (limited to 'src/savegameinfowidgetgamebryo.cpp')
| -rw-r--r-- | src/savegameinfowidgetgamebryo.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/savegameinfowidgetgamebryo.cpp b/src/savegameinfowidgetgamebryo.cpp index 854043a3..1836a8f2 100644 --- a/src/savegameinfowidgetgamebryo.cpp +++ b/src/savegameinfowidgetgamebryo.cpp @@ -54,7 +54,9 @@ void SaveGameInfoWidgetGamebryo::setSave(MOBase::ISaveGame const *saveGame) layout->addWidget(header);
int count = 0;
for (QString const &pluginName : gamebryoSave->getPlugins()) {
- if (m_PluginList->isEnabled(pluginName)) {
+ //if (m_PluginList->isEnabled(pluginName)) {
+ //should use IPluginList * in interface
+ if (m_PluginList->state(pluginName) == MOBase::IPluginList::STATE_ACTIVE) {
continue;
}
|
