Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
c5100112
Commit
c5100112
authored
Sep 16, 2006
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Process all playlist updates
parent
c5b247f5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
modules/gui/qt4/playlist_model.cpp
modules/gui/qt4/playlist_model.cpp
+3
-4
modules/gui/qt4/qt4.cpp
modules/gui/qt4/qt4.cpp
+1
-0
No files found.
modules/gui/qt4/playlist_model.cpp
View file @
c5100112
...
@@ -470,7 +470,6 @@ void PLModel::ProcessItemRemoval( int i_id )
...
@@ -470,7 +470,6 @@ void PLModel::ProcessItemRemoval( int i_id )
if
(
i_id
<=
0
)
return
;
if
(
i_id
<=
0
)
return
;
if
(
i_id
==
i_cached_id
)
i_cached_id
=
-
1
;
if
(
i_id
==
i_cached_id
)
i_cached_id
=
-
1
;
i_cached_input_id
=
-
1
;
i_cached_input_id
=
-
1
;
PLItem
*
item
=
FindById
(
rootItem
,
i_id
);
PLItem
*
item
=
FindById
(
rootItem
,
i_id
);
if
(
item
)
if
(
item
)
item
->
remove
(
item
);
item
->
remove
(
item
);
...
@@ -745,7 +744,7 @@ static int PlaylistChanged( vlc_object_t *p_this, const char *psz_variable,
...
@@ -745,7 +744,7 @@ static int PlaylistChanged( vlc_object_t *p_this, const char *psz_variable,
vlc_value_t
oval
,
vlc_value_t
nval
,
void
*
param
)
vlc_value_t
oval
,
vlc_value_t
nval
,
void
*
param
)
{
{
PLModel
*
p_model
=
(
PLModel
*
)
param
;
PLModel
*
p_model
=
(
PLModel
*
)
param
;
p_model
->
b_need_update
=
VLC_TRUE
;
//
p_model->b_need_update = VLC_TRUE;
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
...
@@ -787,8 +786,8 @@ static int ItemAppended( vlc_object_t *p_this, const char *psz_variable,
...
@@ -787,8 +786,8 @@ static int ItemAppended( vlc_object_t *p_this, const char *psz_variable,
if
(
++
p_model
->
i_items_to_append
>=
50
)
if
(
++
p_model
->
i_items_to_append
>=
50
)
{
{
p_model
->
b_need_update
=
VLC_TRUE
;
//
p_model->b_need_update = VLC_TRUE;
return
VLC_SUCCESS
;
//
return VLC_SUCCESS;
}
}
PLEvent
*
event
=
new
PLEvent
(
p_add
);
PLEvent
*
event
=
new
PLEvent
(
p_add
);
QApplication
::
postEvent
(
p_model
,
static_cast
<
QEvent
*>
(
event
)
);
QApplication
::
postEvent
(
p_model
,
static_cast
<
QEvent
*>
(
event
)
);
...
...
modules/gui/qt4/qt4.cpp
View file @
c5100112
...
@@ -145,6 +145,7 @@ static void Init( intf_thread_t *p_intf )
...
@@ -145,6 +145,7 @@ static void Init( intf_thread_t *p_intf )
app
->
setQuitOnLastWindowClosed
(
false
);
app
->
setQuitOnLastWindowClosed
(
false
);
app
->
exec
();
app
->
exec
();
// fprintf( stderr, "Qt execution terminated\n" );
MainInputManager
::
killInstance
();
MainInputManager
::
killInstance
();
delete
p_intf
->
p_sys
->
p_mi
;
delete
p_intf
->
p_sys
->
p_mi
;
}
}
...
...
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