Skip to content

Commit f16a39a

Browse files
committed
WIP: Allow QMLBridge::fileExists on Android as well
It works just fine. TODO: - Needs to be reevaluated when reselecting files. The name stays, so QML doesn't do it automatically.
1 parent a23043c commit f16a39a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

qmlbridge.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -328,9 +328,6 @@ QString QMLBridge::toLocalFile(QUrl url)
328328

329329
bool QMLBridge::fileExists(QString path)
330330
{
331-
if(path.startsWith(QStringLiteral("content://")))
332-
return true; // Android content URL, can't do much
333-
334331
return QFile::exists(path);
335332
}
336333

0 commit comments

Comments
 (0)