Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
23f5a2f2
Commit
23f5a2f2
authored
Jan 16, 2009
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: remove unneeded code.
parent
e9d699e4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
modules/gui/qt4/components/preferences_widgets.cpp
modules/gui/qt4/components/preferences_widgets.cpp
+1
-3
modules/gui/qt4/components/preferences_widgets.hpp
modules/gui/qt4/components/preferences_widgets.hpp
+0
-1
No files found.
modules/gui/qt4/components/preferences_widgets.cpp
View file @
23f5a2f2
...
...
@@ -998,7 +998,7 @@ BoolConfigControl::BoolConfigControl( vlc_object_t *_p_this,
VIntConfigControl
(
_p_this
,
_p_item
)
{
checkbox
=
_checkbox
;
label
=
_label
;
VLC_UNUSED
(
_label
)
;
finish
();
}
...
...
@@ -1007,8 +1007,6 @@ void BoolConfigControl::finish()
checkbox
->
setCheckState
(
p_item
->
value
.
i
==
true
?
Qt
::
Checked
:
Qt
::
Unchecked
);
checkbox
->
setToolTip
(
formatTooltip
(
qtr
(
p_item
->
psz_longtext
))
);
if
(
label
)
label
->
setToolTip
(
formatTooltip
(
qtr
(
p_item
->
psz_longtext
))
);
}
int
BoolConfigControl
::
getValue
()
...
...
modules/gui/qt4/components/preferences_widgets.hpp
View file @
23f5a2f2
...
...
@@ -192,7 +192,6 @@ public:
virtual
int
getType
()
{
return
CONFIG_ITEM_BOOL
;
}
private:
QCheckBox
*
checkbox
;
QLabel
*
label
;
void
finish
();
};
...
...
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