Commit 1b10d1db authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix error when importing folders

parent dff42cb8
......@@ -229,6 +229,27 @@ Size=870,649
[FilterSelectionDialog]
Size=588,545
[Folder-1257]
htmlLoadExternalOverride=true
[Folder-128]
Identity=1
UseDefaultIdentity=false
htmlLoadExternalOverride=true
[Folder-2709]
displayFormatOverride=2
[Folder-3788]
Identity=1
UseDefaultIdentity=false
[Folder-3827]
displayFormatOverride=2
[Folder-4467]
displayFormatOverride=2
[FolderSelectionDialog]
LastSelectedFolder=2703
Size=1151,571
......
......@@ -229,6 +229,27 @@ Size=870,649
[FilterSelectionDialog]
Size=588,545
[Folder-1257]
htmlLoadExternalOverride=true
[Folder-128]
Identity=1
UseDefaultIdentity=false
htmlLoadExternalOverride=true
[Folder-2709]
displayFormatOverride=2
[Folder-3788]
Identity=1
UseDefaultIdentity=false
[Folder-3827]
displayFormatOverride=2
[Folder-4467]
displayFormatOverride=2
[FolderSelectionDialog]
LastSelectedFolder=2703
Size=1151,571
......
......@@ -229,6 +229,21 @@ Size=870,649
[FilterSelectionDialog]
Size=588,545
[Folder-1257]
htmlLoadExternalOverride=true
[Folder-128]
htmlLoadExternalOverride=true
[Folder-2709]
displayFormatOverride=2
[Folder-3827]
displayFormatOverride=2
[Folder-4467]
displayFormatOverride=2
[FolderSelectionDialog]
LastSelectedFolder=2703
Size=1151,571
......
......@@ -229,6 +229,23 @@ Size=870,649
[FilterSelectionDialog]
Size=588,545
[Folder-1257]
htmlLoadExternalOverride=true
[Folder-128]
Identity=0
UseDefaultIdentity=false
htmlLoadExternalOverride=true
[Folder-2709]
displayFormatOverride=2
[Folder-3827]
displayFormatOverride=2
[Folder-4467]
displayFormatOverride=2
[FolderSelectionDialog]
LastSelectedFolder=2703
Size=1151,571
......
......@@ -27,6 +27,8 @@
#include <KIdentityManagement/Identity>
#include <QTest>
#define REMOVE_TEMPORARY_DIRECTORIES 1
ImportMailJobInterfaceTestImpl::ImportMailJobInterfaceTestImpl(QObject *parent, Utils::StoredTypes typeSelected, ArchiveStorage *archiveStorage, int numberOfStep)
: ImportMailJobInterface(parent, typeSelected, archiveStorage, numberOfStep)
{
......@@ -34,8 +36,10 @@ ImportMailJobInterfaceTestImpl::ImportMailJobInterfaceTestImpl(QObject *parent,
ImportMailJobInterfaceTestImpl::~ImportMailJobInterfaceTestImpl()
{
#ifdef REMOVE_TEMPORARY_DIRECTORIES
QVERIFY(QDir(extractPath()).removeRecursively());
QVERIFY(QDir(QDir::tempPath() + QLatin1Char('/') + Utils::storeMails()).removeRecursively());
#endif
}
void ImportMailJobInterfaceTestImpl::start()
......
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