Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
67875950
Commit
67875950
authored
Feb 03, 2010
by
JPeg
Browse files
Lua dialogs: remove b_hide parameter
Widgets can still be hidden though
parent
67d36fd7
Changes
2
Hide whitespace changes
Inline
Side-by-side
include/vlc_extensions.h
View file @
67875950
...
...
@@ -195,7 +195,6 @@ struct extension_dialog_t
DECL_ARRAY
(
extension_widget_t
*
)
widgets
;
///< Widgets owned by the dialog
bool
b_hide
;
///< Hide this dialog (!b_hide shows)
bool
b_kill
;
///< Kill this dialog
void
*
p_sys
;
///< Dialog private pointer
...
...
modules/gui/qt4/dialogs/extensions.cpp
View file @
67875950
...
...
@@ -110,14 +110,13 @@ ExtensionDialog* ExtensionsDialogProvider::UpdateExtDialog(
if
(
!
p_dialog
->
b_kill
&&
!
dialog
)
{
dialog
=
CreateExtDialog
(
p_dialog
);
dialog
->
setVisible
(
!
p_dialog
->
b_hid
e
);
dialog
->
setVisible
(
tru
e
);
}
else
if
(
!
p_dialog
->
b_kill
&&
dialog
)
{
dialog
->
has_lock
=
true
;
dialog
->
UpdateWidgets
();
dialog
->
has_lock
=
false
;
dialog
->
setVisible
(
!
p_dialog
->
b_hide
);
}
else
if
(
p_dialog
->
b_kill
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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