diff options
author | Jocelyn Turcotte <jturcotte@woboq.com> | 2016-03-16 21:07:40 +0300 |
---|---|---|
committer | Jocelyn Turcotte <jturcotte@woboq.com> | 2016-03-28 14:07:28 +0300 |
commit | df386b64ba88c70f13cae2514e3dacda8540fb6a (patch) | |
tree | c0d25bbdf8d1a4dc658bf4c38c47d2e46904d6fa /src/gui/folderman.h | |
parent | 80bd86a305f594c3846822c780f28edd3c860ba2 (diff) |
Make the AccountState a construction argument of the Folder
This will help moving the SyncEngine construction in the constructor
and allow moving functionalities from Folder to SyncEngine or its
delegated objects.
Diffstat (limited to 'src/gui/folderman.h')
-rw-r--r-- | src/gui/folderman.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/folderman.h b/src/gui/folderman.h index c8fe41374..59b467acf 100644 --- a/src/gui/folderman.h +++ b/src/gui/folderman.h @@ -202,7 +202,7 @@ private: /** Adds a new folder, does not add it to the account settings and * does not set an account on the new folder. */ - Folder* addFolderInternal(const FolderDefinition& folderDefinition); + Folder* addFolderInternal(const FolderDefinition& folderDefinition, AccountState* accountState); /* unloads a folder object, does not delete it */ void unloadFolder( Folder * ); |