Commit 6aed7dfd authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use QLatin1Char('/') here

parent 6f78d56b
......@@ -397,7 +397,7 @@ void SieveEditorWidget::slotShareScript()
out << script();
tmpFile.close();
const QString sourceName = mScriptName->text();
const QString zipFileName = tmp.path() + QDir::separator() + sourceName + QLatin1String(".zip");
const QString zipFileName = tmp.path() + QLatin1Char('/') + sourceName + QLatin1String(".zip");
KZip *zip = new KZip(zipFileName);
if (zip->open(QIODevice::WriteOnly)) {
if (zip->addLocalFile(tmpFile.fileName(), sourceName + QLatin1String(".siv"))) {
......
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