MainWindow: Don't use our network manager for Qt Sparkle
This commit is contained in:
@@ -1019,7 +1019,6 @@ MainWindow::MainWindow(Application *app, SharedPtr<SystemTrayIcon> tray_icon, OS
|
|||||||
if (!sparkle_url.isEmpty()) {
|
if (!sparkle_url.isEmpty()) {
|
||||||
qLog(Debug) << "Creating Qt Sparkle updater";
|
qLog(Debug) << "Creating Qt Sparkle updater";
|
||||||
qtsparkle::Updater *updater = new qtsparkle::Updater(sparkle_url, this);
|
qtsparkle::Updater *updater = new qtsparkle::Updater(sparkle_url, this);
|
||||||
updater->SetNetworkAccessManager(app->network());
|
|
||||||
updater->SetVersion(STRAWBERRY_VERSION_PACKAGE);
|
updater->SetVersion(STRAWBERRY_VERSION_PACKAGE);
|
||||||
QObject::connect(check_updates, &QAction::triggered, updater, &qtsparkle::Updater::CheckNow);
|
QObject::connect(check_updates, &QAction::triggered, updater, &qtsparkle::Updater::CheckNow);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user