Fix build

Commit 56a4b4b1e3 broke the build when
automatic update checks are enabled. This should be fixed now.
This commit is contained in:
Martin Kleusberg
2020-07-25 10:34:05 +02:00
parent 4b65b0160f
commit caa9e4d77f
+1 -1
View File
@@ -101,7 +101,7 @@ void MainWindow::init()
if(Settings::getValue("checkversion", "enabled").toBool())
{
RemoteNetwork::get().fetch(QUrl("https://download.sqlitebrowser.org/currentrelease"), RemoteNetwork::RequestTypeCustom,
QString(), QVariant(), [this](const QByteArray& reply) {
QString(), [this](const QByteArray& reply) {
QList<QByteArray> info = reply.split('\n');
if(info.size() >= 2)
{