mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-03-22 22:12:35 +01:00
28 lines
786 B
Diff
28 lines
786 B
Diff
diff --git a/src/framework/update/internal/updatescenario.cpp b/src/framework/update/internal/updatescenario.cpp
|
|
index 209b60a66d..a6e5a17f5f 100644
|
|
--- a/src/framework/update/internal/updatescenario.cpp
|
|
+++ b/src/framework/update/internal/updatescenario.cpp
|
|
@@ -40,20 +40,12 @@ using namespace muse::actions;
|
|
|
|
void UpdateScenario::delayedInit()
|
|
{
|
|
- if (configuration()->needCheckForUpdate() && multiInstancesProvider()->instances().size() == 1) {
|
|
- QTimer::singleShot(AUTO_CHECK_UPDATE_INTERVAL, [this]() {
|
|
- doCheckForUpdate(false);
|
|
- });
|
|
- }
|
|
+ return;
|
|
}
|
|
|
|
void UpdateScenario::checkForUpdate()
|
|
{
|
|
- if (isCheckStarted()) {
|
|
- return;
|
|
- }
|
|
-
|
|
- doCheckForUpdate(true);
|
|
+ return;
|
|
}
|
|
|
|
bool UpdateScenario::isCheckStarted() const
|