diff options
author | Daniel Molkentin <danimo@owncloud.com> | 2013-06-12 14:41:32 +0400 |
---|---|---|
committer | Daniel Molkentin <danimo@owncloud.com> | 2013-06-12 14:42:02 +0400 |
commit | 82d79b1188a51d4a1220c94792fd9d0d623be10f (patch) | |
tree | b082f37333e20e4b6d4a9e7c34e8b53b5599338d | |
parent | e33601becde4684976731e6616c0368968794089 (diff) |
Remove folder from the scheduling queuev1.3.0-beta3
Not really needed, but cleaner
-rw-r--r-- | src/mirall/folderman.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mirall/folderman.cpp b/src/mirall/folderman.cpp index 9c4f14fd8..3dfe406f3 100644 --- a/src/mirall/folderman.cpp +++ b/src/mirall/folderman.cpp @@ -471,6 +471,8 @@ void FolderMan::removeFolder( const QString& alias ) { Folder *f = 0; + _scheduleQueue.removeAll(alias); + if( _folderMap.contains( alias )) { qDebug() << "Removing " << alias; f = _folderMap.take( alias ); |