MainWindow: Don't use our network manager for Qt Sparkle
This commit is contained in:
parent
0e1921698c
commit
7db36c83c1
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user