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
b0a779e9
Commit
b0a779e9
authored
Mar 24, 2012
by
Francois Cartegnie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: AbstractController: fix visibility warning
parent
1858bcb8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/gui/qt4/components/controller.cpp
modules/gui/qt4/components/controller.cpp
+5
-5
No files found.
modules/gui/qt4/components/controller.cpp
View file @
b0a779e9
...
@@ -150,7 +150,7 @@ void AbstractController::parseAndCreate( const QString& config,
...
@@ -150,7 +150,7 @@ void AbstractController::parseAndCreate( const QString& config,
}
}
}
}
void
AbstractController
::
createAndAddWidget
(
QBoxLayout
*
controlLayout
,
void
AbstractController
::
createAndAddWidget
(
QBoxLayout
*
controlLayout
_
,
int
i_index
,
int
i_index
,
buttonType_e
i_type
,
buttonType_e
i_type
,
int
i_option
)
int
i_option
)
...
@@ -160,18 +160,18 @@ void AbstractController::createAndAddWidget( QBoxLayout *controlLayout,
...
@@ -160,18 +160,18 @@ void AbstractController::createAndAddWidget( QBoxLayout *controlLayout,
/* Close the current buttonGroup if we have a special widget or a spacer */
/* Close the current buttonGroup if we have a special widget or a spacer */
if
(
buttonGroupLayout
&&
i_type
>
BUTTON_MAX
)
if
(
buttonGroupLayout
&&
i_type
>
BUTTON_MAX
)
{
{
controlLayout
->
addLayout
(
buttonGroupLayout
);
controlLayout
_
->
addLayout
(
buttonGroupLayout
);
buttonGroupLayout
=
NULL
;
buttonGroupLayout
=
NULL
;
}
}
/* Special case for SPACERS, who aren't QWidgets */
/* Special case for SPACERS, who aren't QWidgets */
if
(
i_type
==
WIDGET_SPACER
)
if
(
i_type
==
WIDGET_SPACER
)
{
{
controlLayout
->
addSpacing
(
12
);
controlLayout
_
->
addSpacing
(
12
);
}
}
else
if
(
i_type
==
WIDGET_SPACER_EXTEND
)
else
if
(
i_type
==
WIDGET_SPACER_EXTEND
)
{
{
controlLayout
->
addStretch
(
12
);
controlLayout
_
->
addStretch
(
12
);
}
}
else
else
{
{
...
@@ -191,7 +191,7 @@ void AbstractController::createAndAddWidget( QBoxLayout *controlLayout,
...
@@ -191,7 +191,7 @@ void AbstractController::createAndAddWidget( QBoxLayout *controlLayout,
}
}
else
/* Special widgets */
else
/* Special widgets */
{
{
controlLayout
->
addWidget
(
widg
);
controlLayout
_
->
addWidget
(
widg
);
}
}
}
}
}
}
...
...
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