Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
93322f91
Commit
93322f91
authored
Apr 05, 2013
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: Preferences: rename member var.
Avoid confusion with b_small.
parent
adb234fc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
modules/gui/qt4/dialogs/preferences.cpp
modules/gui/qt4/dialogs/preferences.cpp
+7
-7
No files found.
modules/gui/qt4/dialogs/preferences.cpp
View file @
93322f91
...
...
@@ -68,13 +68,13 @@ PrefsDialog::PrefsDialog( QWidget *parent, intf_thread_t *_p_intf )
types
->
setAlignment
(
Qt
::
AlignHCenter
);
QHBoxLayout
*
types_l
=
new
QHBoxLayout
;
types_l
->
setSpacing
(
3
);
types_l
->
setMargin
(
3
);
s
mall
=
new
QRadioButton
(
qtr
(
"Simple"
),
types
);
s
mall
->
setToolTip
(
qtr
(
"Switch to simple preferences view"
)
);
types_l
->
addWidget
(
s
mall
);
s
imple
=
new
QRadioButton
(
qtr
(
"Simple"
),
types
);
s
imple
->
setToolTip
(
qtr
(
"Switch to simple preferences view"
)
);
types_l
->
addWidget
(
s
imple
);
all
=
new
QRadioButton
(
qtr
(
"All"
),
types
);
types_l
->
addWidget
(
all
);
all
->
setToolTip
(
qtr
(
"Switch to full preferences view"
)
);
types
->
setLayout
(
types_l
);
s
mall
->
setChecked
(
true
);
s
imple
->
setChecked
(
true
);
/* Tree and panel initialisations */
advanced_tree
=
NULL
;
...
...
@@ -141,7 +141,7 @@ PrefsDialog::PrefsDialog( QWidget *parent, intf_thread_t *_p_intf )
BUTTONACT
(
cancel
,
cancel
()
);
BUTTONACT
(
reset
,
reset
()
);
BUTTONACT
(
s
mall
,
setSmall
()
);
BUTTONACT
(
s
imple
,
setSmall
()
);
BUTTONACT
(
all
,
setAdvanced
()
);
resize
(
780
,
sizeHint
().
height
()
);
...
...
@@ -213,7 +213,7 @@ void PrefsDialog::setSmall()
if
(
!
simple_panels
[
SPrefsDefaultCat
]
)
changeSimplePanel
(
SPrefsDefaultCat
);
s
mall
->
setChecked
(
true
);
s
imple
->
setChecked
(
true
);
stack
->
setCurrentIndex
(
SIMPLE
);
setWindowTitle
(
qtr
(
"Simple Preferences"
)
);
}
...
...
@@ -282,7 +282,7 @@ void PrefsDialog::showModulePrefs( char *psz_module )
/* Actual apply and save for the preferences */
void
PrefsDialog
::
save
()
{
if
(
s
mall
->
isChecked
()
&&
simple_tree
->
isVisible
()
)
if
(
s
imple
->
isChecked
()
&&
simple_tree
->
isVisible
()
)
{
msg_Dbg
(
p_intf
,
"Saving the simple preferences"
);
for
(
int
i
=
0
;
i
<
SPrefsMax
;
i
++
){
...
...
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