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 6e59e11a authored by Boudewijn Rempt's avatar Boudewijn Rempt

Run the file format tests in batch mode

This fixes the tiff and png unittest.
parent 6c7cb48c
......@@ -65,6 +65,7 @@ void testFiles(const QString& _dirname, const QStringList& exclusions, const QSt
KisDoc2 doc;
KoFilterManager manager(&doc);
manager.setBatchMode(true);
QByteArray nativeFormat = doc.nativeFormatMimeType();
KoFilter::ConversionStatus status;
QString s = manager.importDocument(sourceFileInfo.absoluteFilePath(), QString(),
......
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