Skip to content

Commit 9b677ae

Browse files
defmysuglide
authored andcommitted
fix issue: cannot import/export connections on Windows (RedisInsight#3722)
1 parent 4a1e090 commit 9b677ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/qmlutils.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ QVariant QmlUtils::toUtf(const QVariant &value)
7676

7777
QString QmlUtils::getPathFromUrl(const QUrl &url)
7878
{
79-
return url.path();
79+
return url.isLocalFile() ? url.toLocalFile() : url.path();
8080
}
8181

8282
void QmlUtils::copyToClipboard(const QString &text)

0 commit comments

Comments
 (0)