Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
Education
OpenBoard
9117-disable-software-update.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 9117-disable-software-update.patch of Package OpenBoard
From cc89f09bbc7f464ad79eaa82a74d490d507e4756 Mon Sep 17 00:00:00 2001 From: letsfindaway <me@letsfindaway.de> Date: Wed, 16 Nov 2022 08:31:29 +0100 Subject: [PATCH] feat: disable software update check - for packages maintained by a Linux distribution, a software update check is not relevant - disable the check in the settings - hide the associated checkbox in the preferences --- resources/etc/OpenBoard.config | 5 ++--- src/core/UBPreferencesController.cpp | 1 + 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/etc/OpenBoard.config b/resources/etc/OpenBoard.config index ce77e232e..a3c8bf04e 100644 --- a/resources/etc/OpenBoard.config +++ b/resources/etc/OpenBoard.config @@ -1,8 +1,7 @@ [App] -HideCheckForSoftwareUpdate=false +HideCheckForSoftwareUpdate=true HideSwapDisplayScreens=true -EnableAutomaticSoftwareUpdates=true -EnableSoftwareUpdates=true +EnableAutomaticSoftwareUpdates=false EnableStartupHints=true FavoriteToolURIs=openboardtool://openboard/mask, openboardtool://ruler, openboardtool://compass, openboardtool://protractor, openboardtool://triangle, openboardtool://magnifier, openboardtool://cache IsInSoftwareUpdateProcess=false diff --git a/src/core/UBPreferencesController.cpp b/src/core/UBPreferencesController.cpp index ed0e393d8..b67c415c3 100644 --- a/src/core/UBPreferencesController.cpp +++ b/src/core/UBPreferencesController.cpp @@ -85,6 +85,7 @@ UBPreferencesController::UBPreferencesController(QWidget *parent) mPreferencesWindow = new UBPreferencesDialog(this,parent, Qt::Dialog); mPreferencesUI = new Ui::preferencesDialog(); // deleted in destructor mPreferencesUI->setupUi(mPreferencesWindow); + mPreferencesUI->softwareUpdateGroupBox->hide(); // disable check for software update adjustScreensPreferences(); connect(UBApplication::displayManager, &UBDisplayManager::availableScreenCountChanged, this, &UBPreferencesController::adjustScreensPreferences);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor