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
44d7abad
Commit
44d7abad
authored
Jan 05, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: specify function prototype, remove cast
parent
8c17cf44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+4
-6
No files found.
modules/gui/qt4/qt4.cpp
View file @
44d7abad
...
...
@@ -327,7 +327,7 @@ static void Abort( void *obj )
}
#endif
static
void
RegisterIntf
(
vlc_object
_t
*
p_this
)
static
void
RegisterIntf
(
intf_thread
_t
*
p_this
)
{
playlist_t
*
pl
=
pl_Get
(
p_this
);
var_Create
(
pl
,
"qt4-iface"
,
VLC_VAR_ADDRESS
);
...
...
@@ -390,9 +390,7 @@ static int Open( vlc_object_t *p_this, bool isDialogProvider )
#ifndef Q_OS_MAC
if
(
!
isDialogProvider
)
{
RegisterIntf
(
p_this
);
}
RegisterIntf
(
p_intf
);
#endif
return
VLC_SUCCESS
;
...
...
@@ -417,7 +415,7 @@ static void Close( vlc_object_t *p_this )
if
(
!
p_sys
->
b_isDialogProvider
)
{
playlist_t
*
pl
=
pl_Get
(
p_
this
);
playlist_t
*
pl
=
pl_Get
(
p_
intf
);
var_Destroy
(
pl
,
"window"
);
var_Destroy
(
pl
,
"qt4-iface"
);
...
...
@@ -530,7 +528,7 @@ static void *Thread( void *obj )
/* We took over main thread, register and start here */
if
(
!
p_intf
->
p_sys
->
b_isDialogProvider
)
{
RegisterIntf
(
(
vlc_object_t
*
)
p_intf
);
RegisterIntf
(
p_intf
);
playlist_Play
(
THEPL
);
}
#endif
...
...
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