Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Fix creating a QFile from string

Nicolas Felladaa6b625e5b2
diff --git a/libs/ui/KisAndroidFileProxy.cpp b/libs/ui/KisAndroidFileProxy.cpp
index 23593711fb..7370617c77 100644
--- a/libs/ui/KisAndroidFileProxy.cpp
+++ b/libs/ui/KisAndroidFileProxy.cpp
@@ -14,7 +14,7 @@
QString KisAndroidFileProxy::getFileFromContentUri(QString contentUri)
{
- QFile file = contentUri;
+ QFile file(contentUri);
const QString savePath = QStandardPaths::writableLocation(QStandardPaths::CacheLocation);
QDir dirPath = savePath;