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
ddd3518c
Commit
ddd3518c
authored
Jan 27, 2008
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4 - cosmetic
parent
f417c29f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
22 deletions
+22
-22
modules/gui/qt4/components/playlist/playlist_item.cpp
modules/gui/qt4/components/playlist/playlist_item.cpp
+1
-1
modules/gui/qt4/input_manager.cpp
modules/gui/qt4/input_manager.cpp
+15
-15
modules/gui/qt4/input_manager.hpp
modules/gui/qt4/input_manager.hpp
+6
-6
No files found.
modules/gui/qt4/components/playlist/playlist_item.cpp
View file @
ddd3518c
...
...
@@ -188,6 +188,7 @@ void PLItem::update( playlist_item_t *p_item, bool iscurrent )
assert
(
p_item
->
p_input
->
i_id
==
i_input_id
);
/* Useful for the model */
i_type
=
p_item
->
p_input
->
i_type
;
b_current
=
iscurrent
;
...
...
@@ -254,7 +255,6 @@ void PLItem::update( playlist_item_t *p_item, bool iscurrent )
break
;
}
}
}
#undef ADD_META
}
...
...
modules/gui/qt4/input_manager.cpp
View file @
ddd3518c
...
...
@@ -35,6 +35,8 @@ static int ChangeAudio( vlc_object_t *p_this, const char *var, vlc_value_t o,
vlc_value_t
n
,
void
*
param
);
static
int
ItemChanged
(
vlc_object_t
*
,
const
char
*
,
vlc_value_t
,
vlc_value_t
,
void
*
);
static
int
InputChanged
(
vlc_object_t
*
,
const
char
*
,
vlc_value_t
,
vlc_value_t
,
void
*
);
static
int
InterfaceChanged
(
vlc_object_t
*
,
const
char
*
,
vlc_value_t
,
vlc_value_t
,
void
*
);
static
int
ItemStateChanged
(
vlc_object_t
*
,
const
char
*
,
...
...
@@ -139,26 +141,24 @@ void InputManager::customEvent( QEvent *event )
IMEvent
*
ime
=
static_cast
<
IMEvent
*>
(
event
);
if
(
type
==
PositionUpdate_T
ype
)
switch
(
t
ype
)
{
case
PositionUpdate_Type
:
UpdatePosition
();
}
else
if
(
type
==
ItemChanged_Type
)
{
break
;
case
ItemChanged_Type
:
UpdateMeta
();
UpdateTitle
();
}
else
if
(
type
==
ItemRateChanged_Type
)
{
UpdateRate
();
}
else
if
(
type
==
ItemTitleChanged_Type
)
{
UpdateTitle
();
}
else
if
(
type
==
ItemStateChanged_Type
)
{
break
;
case
ItemRateChanged_Type
:
UpdateRate
();
break
;
case
ItemTitleChanged_Type
:
UpdateTitle
();
break
;
case
ItemStateChanged_Type
:
UpdateStatus
();
break
;
}
}
...
...
modules/gui/qt4/input_manager.hpp
View file @
ddd3518c
...
...
@@ -34,12 +34,12 @@
#include <QObject>
#include <QEvent>
static
int
PositionUpdate_Type
=
QEvent
::
User
+
6
;
static
int
ItemChanged_Type
=
QEvent
::
User
+
7
;
static
int
ItemRateChanged_Type
=
QEvent
::
User
+
8
;
static
int
ItemTitleChanged_Type
=
QEvent
::
User
+
9
;
static
int
ItemStateChanged_Type
=
QEvent
::
User
+
10
;
static
int
VolumeChanged_Type
=
QEvent
::
User
+
11
;
static
int
const
PositionUpdate_Type
=
QEvent
::
User
+
6
;
static
int
const
ItemChanged_Type
=
QEvent
::
User
+
7
;
static
int
const
ItemRateChanged_Type
=
QEvent
::
User
+
8
;
static
int
const
ItemTitleChanged_Type
=
QEvent
::
User
+
9
;
static
int
const
ItemStateChanged_Type
=
QEvent
::
User
+
10
;
static
int
const
VolumeChanged_Type
=
QEvent
::
User
+
11
;
class
IMEvent
:
public
QEvent
{
...
...
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