Commit 2e84e85d authored by Black Hat's avatar Black Hat 😎

Merge branch 'develop' into 'master'

Fix a bug in image clipboard.

See merge request !53
parents 565d5202 dffd769a
Pipeline #62521361 passed with stages
in 6 minutes and 2 seconds
......@@ -29,7 +29,7 @@ bool ImageClipboard::saveImage(const QUrl& localPath) {
if (i.isNull())
return false;
QString path = QFileInfo(localPath.toString()).absolutePath();
QString path = QFileInfo(localPath.toLocalFile()).absolutePath();
QDir dir;
if (!dir.exists(path))
dir.mkpath(path);
......
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