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
fb77c0f7
Commit
fb77c0f7
authored
Aug 02, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: remove useless playlist pointer
parent
0ad85b85
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+1
-2
modules/gui/qt4/qt4.hpp
modules/gui/qt4/qt4.hpp
+1
-3
No files found.
modules/gui/qt4/qt4.cpp
View file @
fb77c0f7
...
...
@@ -338,7 +338,6 @@ static int Open( vlc_object_t *p_this, bool isDialogProvider )
intf_sys_t
*
p_sys
=
p_intf
->
p_sys
=
new
intf_sys_t
;
p_intf
->
p_sys
->
b_isDialogProvider
=
isDialogProvider
;
p_sys
->
p_mi
=
NULL
;
p_sys
->
p_playlist
=
pl_Get
(
p_intf
);
/* */
#ifdef Q_WS_X11
...
...
@@ -496,7 +495,7 @@ static void *Thread( void *obj )
if
(
!
p_intf
->
p_sys
->
b_isDialogProvider
)
{
RegisterIntf
(
(
vlc_object_t
*
)
p_intf
);
playlist_Play
(
p_intf
->
p_sys
->
p_playlist
);
playlist_Play
(
THEPL
);
}
#endif
...
...
modules/gui/qt4/qt4.hpp
View file @
fb77c0f7
...
...
@@ -71,13 +71,11 @@ struct intf_sys_t
int
i_screenHeight
;
/* Detection of Small screens */
playlist_t
*
p_playlist
;
/* Core Playlist discussion */
QString
filepath
;
/* Last path used in dialogs */
};
#define THEPL p
_intf->p_sys->p_playlist
#define THEPL p
l_Get(p_intf)
#define QPL_LOCK playlist_Lock( THEPL );
#define QPL_UNLOCK playlist_Unlock( THEPL );
...
...
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