Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpenBoard
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Nicolas Ollinger
OpenBoard
Commits
cab1d0ca
Commit
cab1d0ca
authored
Mar 21, 2016
by
Craig Watson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hide software update setting in preferences window
parent
8098679b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
preferences.ui
resources/forms/preferences.ui
+2
-2
UBPreferencesController.cpp
src/core/UBPreferencesController.cpp
+3
-0
No files found.
resources/forms/preferences.ui
View file @
cab1d0ca
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
<item
row=
"1"
column=
"0"
>
<item
row=
"1"
column=
"0"
>
<widget
class=
"QTabWidget"
name=
"mainTabWidget"
>
<widget
class=
"QTabWidget"
name=
"mainTabWidget"
>
<property
name=
"currentIndex"
>
<property
name=
"currentIndex"
>
<number>
0
</number>
<number>
6
</number>
</property>
</property>
<widget
class=
"QWidget"
name=
"displayTab"
>
<widget
class=
"QWidget"
name=
"displayTab"
>
<attribute
name=
"title"
>
<attribute
name=
"title"
>
...
@@ -2818,7 +2818,7 @@ p, li { white-space: pre-wrap; }
...
@@ -2818,7 +2818,7 @@ p, li { white-space: pre-wrap; }
</widget>
</widget>
</item>
</item>
<item>
<item>
<widget
class=
"QGroupBox"
name=
"s
oftwareUpdateGroupBox_2
"
>
<widget
class=
"QGroupBox"
name=
"s
ankoreImporterGroupBox
"
>
<property
name=
"minimumSize"
>
<property
name=
"minimumSize"
>
<size>
<size>
<width>
0
</width>
<width>
0
</width>
...
...
src/core/UBPreferencesController.cpp
View file @
cab1d0ca
...
@@ -184,6 +184,9 @@ void UBPreferencesController::wire()
...
@@ -184,6 +184,9 @@ void UBPreferencesController::wire()
// about tab
// about tab
connect
(
mPreferencesUI
->
checkSoftwareUpdateAtLaunchCheckBox
,
SIGNAL
(
clicked
(
bool
)),
settings
->
appEnableAutomaticSoftwareUpdates
,
SLOT
(
setBool
(
bool
)));
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
)));
connect
(
mPreferencesUI
->
checkOpenSankoreAtStartup
,
SIGNAL
(
clicked
(
bool
)),
settings
->
appLookForOpenSankoreInstall
,
SLOT
(
setBool
(
bool
)));
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment