Commit 6e18e1f0 authored by Ahmad Samir's avatar Ahmad Samir
Browse files

Use applicatin/gzip mimetype

It's been standarndized since 2012, see:

parent 528540e7
Pipeline #70109 passed with stage
in 4 minutes and 2 seconds
......@@ -66,7 +66,7 @@ public:
bool ProjectPrivate::loadProject(const QUrl &url)
// extract archive file to temporary working directory
KTar tar = KTar(url.toLocalFile(), QString("application/x-gzip"));
KTar tar = KTar(url.toLocalFile(), QStringLiteral("application/gzip"));
if (! {
qCritical() << "Could not open project archive file for reading, aborting.";
return false;
......@@ -404,7 +404,7 @@ bool Project::projectSave()
qCritical() << "No project file specified, abort saving.";
return false;
KTar tar = KTar(d->m_projectUrl.toLocalFile(), QString("application/x-gzip"));
KTar tar = KTar(d->m_projectUrl.toLocalFile(), QStringLiteral("application/gzip"));;
foreach (KTextEditor::Document *document, d->m_codeDocuments) {
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