Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 22e1a633 authored by Laurent Montel's avatar Laurent Montel 😁

Clean up

parent 10156a33
......@@ -21,18 +21,10 @@
#include <KConfigGroup>
FolderArchiveAccountInfo::FolderArchiveAccountInfo()
: mArchiveTopLevelCollectionId(-1)
, mArchiveType(UniqueFolder)
, mEnabled(false)
, mKeepExistingStructure(false)
{
}
FolderArchiveAccountInfo::FolderArchiveAccountInfo(const KConfigGroup &config)
: mArchiveTopLevelCollectionId(-1)
, mArchiveType(UniqueFolder)
, mEnabled(false)
, mKeepExistingStructure(false)
{
readConfig(config);
}
......
......@@ -58,9 +58,9 @@ public:
bool operator==(const FolderArchiveAccountInfo &other) const;
private:
Akonadi::Collection::Id mArchiveTopLevelCollectionId;
Akonadi::Collection::Id mArchiveTopLevelCollectionId = -1;
QString mInstanceName;
FolderArchiveAccountInfo::FolderArchiveType mArchiveType;
FolderArchiveAccountInfo::FolderArchiveType mArchiveType = UniqueFolder;
bool mEnabled = false;
bool mKeepExistingStructure = false;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment