diff --git a/src/backend/backend.cpp b/src/backend/backend.cpp index 6cbbec2fc09c649922376e97dbc38d2536e40b7b..e7bf5bf89f9de9f382d2789b24d3bb173eaa815e 100644 --- a/src/backend/backend.cpp +++ b/src/backend/backend.cpp @@ -116,26 +116,6 @@ QString Backend::buildInfo() const + "\nOpenSSL support: " + QVariant(QSslSocket::supportsSsl()).toString()}; } -void Backend::enableBackgroundUpdate(const bool &enabled) -{ - if (enabled) { - m_backgroundTimer.start(); - } else { - m_backgroundTimer.stop(); - } -} - -void Backend::setUpdateInBackground(const bool &enabled) -{ - QSettings().setValue("system/updateInBackground", enabled); - if (enabled) { - qDebug() << "Update in background is enabled"; - } else { - qDebug() << "Update in background is disabled"; - } - enableBackgroundUpdate(enabled); -} - void Backend::setAutoScaleProject(const bool &enabled) { QSettings().setValue(Constants::Settings::ProjectManager::AutoScale, enabled);