Hide software update setting in preferences window

preferencesAboutTextFull
Craig Watson 9 years ago
parent 8098679b23
commit cab1d0cacf
  1. 4
      resources/forms/preferences.ui
  2. 3
      src/core/UBPreferencesController.cpp

@ -24,7 +24,7 @@
<item row="1" column="0">
<widget class="QTabWidget" name="mainTabWidget">
<property name="currentIndex">
<number>0</number>
<number>6</number>
</property>
<widget class="QWidget" name="displayTab">
<attribute name="title">
@ -2818,7 +2818,7 @@ p, li { white-space: pre-wrap; }
</widget>
</item>
<item>
<widget class="QGroupBox" name="softwareUpdateGroupBox_2">
<widget class="QGroupBox" name="sankoreImporterGroupBox">
<property name="minimumSize">
<size>
<width>0</width>

@ -184,6 +184,9 @@ void UBPreferencesController::wire()
// about tab
connect(mPreferencesUI->checkSoftwareUpdateAtLaunchCheckBox, SIGNAL(clicked(bool)), settings->appEnableAutomaticSoftwareUpdates, SLOT(setBool(bool)));
// As we (hopefully temporarily) don't have a website to check updates at, this setting is hidden for now
mPreferencesUI->softwareUpdateGroupBox->setVisible(false);
connect(mPreferencesUI->checkOpenSankoreAtStartup, SIGNAL(clicked(bool)), settings->appLookForOpenSankoreInstall, SLOT(setBool(bool)));
}

Loading…
Cancel
Save