diff options
Diffstat (limited to 'SQLiteStudio3/coreSQLiteStudio/services')
| -rw-r--r-- | SQLiteStudio3/coreSQLiteStudio/services/functionmanager.h | 1 | ||||
| -rw-r--r-- | SQLiteStudio3/coreSQLiteStudio/services/updatemanager.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/SQLiteStudio3/coreSQLiteStudio/services/functionmanager.h b/SQLiteStudio3/coreSQLiteStudio/services/functionmanager.h index b848c93..2581b4f 100644 --- a/SQLiteStudio3/coreSQLiteStudio/services/functionmanager.h +++ b/SQLiteStudio3/coreSQLiteStudio/services/functionmanager.h @@ -7,6 +7,7 @@ #include <QSharedPointer> #include <QObject> #include <QStringList> +#include <functional> class Db; diff --git a/SQLiteStudio3/coreSQLiteStudio/services/updatemanager.cpp b/SQLiteStudio3/coreSQLiteStudio/services/updatemanager.cpp index dae8238..66620f3 100644 --- a/SQLiteStudio3/coreSQLiteStudio/services/updatemanager.cpp +++ b/SQLiteStudio3/coreSQLiteStudio/services/updatemanager.cpp @@ -153,7 +153,7 @@ void UpdateManager::handleAvailableUpdatesReply(QNetworkReply* reply) void UpdateManager::getUpdatesMetadata(QNetworkReply*& replyStoragePointer) { #ifndef NO_AUTO_UPDATES - if (!isPlatformEligibleForUpdate() || replyStoragePointer) + if (!CFG_CORE.General.CheckUpdatesOnStartup.get() || !isPlatformEligibleForUpdate() || replyStoragePointer) return; QUrlQuery query; |
