mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
[Fix:] Loading local files from Menu File -> Open File action. See #65
This commit is contained in:
parent
df01a3efef
commit
e5967a6c14
@ -1170,7 +1170,7 @@ void QupZilla::openFile()
|
||||
{
|
||||
QString filePath = QFileDialog::getOpenFileName(this, tr("Open file..."), QDir::homePath(), "(*.html *.htm *.jpg *.png)");
|
||||
if (!filePath.isEmpty()) {
|
||||
loadAddress(QUrl(filePath));
|
||||
loadAddress(QUrl::fromLocalFile(filePath));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user