Commit 4e643294 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix autotest

parent 4a33a247
......@@ -37,8 +37,6 @@ Selection=i731884
VerticalScroll=0
[KFileDialog Settings]
Recent Files[$e]=file:$HOME/addressbook.vcf,file:$HOME/addressbook.gmxa,file:$HOME/Téléchargements/BadCard.vcf,file:$HOME/addressbook1.vcf,file:$HOME/Björn_Balazs.vcf
Recent URLs[$e]=file:///compile/kde5/framework/kde/pim/kmail/
detailViewIconSize=0
[KPimPrintPreviewDialog]
......
......@@ -9,13 +9,13 @@ Size=635,468
[CollectionViewCheckState]
Current=x-1
Selection=c3647,c2656,c3840
Selection=foo/bla bla/bli3647,foo/bla bla/bli2656,foo/bla bla/bli3840
[CollectionViewState]
Current=c3840
Expansion=c2642,c2643,c2645,c2786,c3132
Current=foo/bla bla/bli3840
Expansion=foo/bla bla/bli2642,foo/bla bla/bli2643,foo/bla bla/bli2645,foo/bla bla/bli2786,foo/bla bla/bli3132
HorizontalScroll=0
Selection=c3840
Selection=foo/bla bla/bli3840
VerticalScroll=0
[ConfigurePluginsWidget]
......@@ -37,8 +37,6 @@ Selection=i731884
VerticalScroll=0
[KFileDialog Settings]
Recent Files[$e]=file:$HOME/addressbook.vcf,file:$HOME/addressbook.gmxa,file:$HOME/Téléchargements/BadCard.vcf,file:$HOME/addressbook1.vcf,file:$HOME/Björn_Balazs.vcf
Recent URLs[$e]=file:///compile/kde5/framework/kde/pim/kmail/
detailViewIconSize=0
[KPimPrintPreviewDialog]
......
......@@ -25,6 +25,8 @@
#include <QProcess>
#include <KZip>
//#define KEEP_TEMPORARY_FILES 1
CompareExportFile::CompareExportFile()
{
}
......@@ -63,6 +65,9 @@ void CompareExportFile::compareFiles()
if (currentEntry && currentEntry->isFile()) {
if (!mTempDir) {
mTempDir = new QTemporaryDir;
#ifdef KEEP_TEMPORARY_FILES
mTempDir->setAutoRemove(false);
#endif
}
const KArchiveFile *currentFile = static_cast<const KArchiveFile *>(currentEntry);
......
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