diff options
| author | Tannin <devnull@localhost> | 2015-03-31 18:32:46 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2015-03-31 18:32:46 +0200 |
| commit | 1ba140e0fa3994d0c3f80dacb0322ec02364fddd (patch) | |
| tree | 304cdf44ce912403c461c8f9cc9571507081aefc | |
| parent | eed3664302e915c058962e339070058a181b2c7a (diff) | |
avoid saving plugin list during directory updates as they may be invalid
| -rw-r--r-- | src/organizercore.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp index fcd934ae..5a92bbd7 100644 --- a/src/organizercore.cpp +++ b/src/organizercore.cpp @@ -1460,6 +1460,10 @@ bool OrganizerCore::saveCurrentLists() void OrganizerCore::savePluginList()
{
+ if (m_DirectoryUpdate) {
+ qWarning("Can't save plugin lists now, might outdated");
+ return;
+ }
m_PluginList.saveTo(m_CurrentProfile->getPluginsFileName(),
m_CurrentProfile->getLoadOrderFileName(),
m_CurrentProfile->getLockedOrderFileName(),
|
