Commit 94d4453e authored by Albert Astals Cid's avatar Albert Astals Cid

Make saving thumbnails work again

CCMAIL: lukas@kde.org
parent 4dc18b99
......@@ -46,7 +46,7 @@ namespace Gwenview
static void storeThumbnailToDiskCache(const QString& path, const QImage& image)
{
LOG(path);
QTemporaryFile tmp(path + QStringLiteral("/.gwenview.tmpXXXXXX.png"));
QTemporaryFile tmp(path + QStringLiteral(".gwenview.tmpXXXXXX.png"));
if (!tmp.open()) {
qWarning() << "Could not create a temporary file.";
return;
......
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