Fix build on Windows

See issue #2335.
This commit is contained in:
Martin Kleusberg
2020-07-18 15:01:12 +02:00
parent 12ba01ffdb
commit 1552b551fd
+1 -1
View File
@@ -102,7 +102,7 @@ void MainWindow::init()
connect(m_remoteDb, &RemoteDatabase::networkReady, [this]() {
// Check for a new version if automatic update check aren't disabled in the settings dialog
if(Settings::getValue("checkversion", "enabled").toBool())
m_remoteDb->fetch("https://download.sqlitebrowser.org/currentrelease", RemoteDatabase::RequestTypeNewVersionCheck);
m_remoteDb->fetch(QUrl("https://download.sqlitebrowser.org/currentrelease"), RemoteDatabase::RequestTypeNewVersionCheck);
});
#endif