MainWindow: Don't use our network manager for Qt Sparkle

This commit is contained in:
Jonas Kvinge 2023-07-21 06:20:46 +02:00
parent 0e1921698c
commit 7db36c83c1
1 changed files with 0 additions and 1 deletions

View File

@ -1019,7 +1019,6 @@ MainWindow::MainWindow(Application *app, SharedPtr<SystemTrayIcon> tray_icon, OS
if (!sparkle_url.isEmpty()) {
qLog(Debug) << "Creating Qt Sparkle updater";
qtsparkle::Updater *updater = new qtsparkle::Updater(sparkle_url, this);
updater->SetNetworkAccessManager(app->network());
updater->SetVersion(STRAWBERRY_VERSION_PACKAGE);
QObject::connect(check_updates, &QAction::triggered, updater, &qtsparkle::Updater::CheckNow);
}