Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
b86f8d76
Commit
b86f8d76
authored
Feb 03, 2010
by
Ilkka Ollakka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
QT: use qfu when creating EPG-stuff
parent
63efe9cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
modules/gui/qt4/components/epg/EPGWidget.cpp
modules/gui/qt4/components/epg/EPGWidget.cpp
+7
-6
No files found.
modules/gui/qt4/components/epg/EPGWidget.cpp
View file @
b86f8d76
...
...
@@ -27,6 +27,7 @@
#include <QScrollBar>
#include <QDebug>
#include <QLabel>
#include "qt4.hpp"
ChannelsWidget
::
ChannelsWidget
(
QWidget
*
parent
)
:
QWidget
(
parent
)
{
...
...
@@ -77,13 +78,13 @@ void EPGWidget::updateEPG( vlc_epg_t **pp_epg, int i_epg )
for
(
int
i
=
0
;
i
<
i_epg
;
++
i
)
{
vlc_epg_t
*
p_epg
=
pp_epg
[
i
];
QString
channelName
=
QString
(
p_epg
->
psz_name
);
QString
channelName
=
qfu
(
p_epg
->
psz_name
);
for
(
int
j
=
0
;
j
<
p_epg
->
i_event
;
++
j
)
{
EPGEvent
*
item
=
NULL
;
vlc_epg_event_t
*
p_event
=
p_epg
->
pp_event
[
j
];
QString
eventName
=
QString
(
p_event
->
psz_name
);
QString
eventName
=
qfu
(
p_event
->
psz_name
);
QList
<
EPGEvent
*>
events
=
m_events
.
values
(
channelName
);
...
...
@@ -94,8 +95,8 @@ void EPGWidget::updateEPG( vlc_epg_t **pp_epg, int i_epg )
{
item
=
events
.
at
(
k
);
item
->
updated
=
true
;
item
->
description
=
QString
(
p_event
->
psz_description
);
item
->
shortDescription
=
QString
(
p_event
->
psz_short_description
);
item
->
description
=
qfu
(
p_event
->
psz_description
);
item
->
shortDescription
=
qfu
(
p_event
->
psz_short_description
);
item
->
start
=
QDateTime
::
fromTime_t
(
p_event
->
i_start
);
item
->
duration
=
p_event
->
i_duration
;
item
->
current
=
(
p_epg
->
p_current
==
p_event
)
?
true
:
false
;
...
...
@@ -111,8 +112,8 @@ void EPGWidget::updateEPG( vlc_epg_t **pp_epg, int i_epg )
if
(
!
item
)
{
item
=
new
EPGEvent
(
eventName
);
item
->
description
=
QString
(
p_event
->
psz_description
);
item
->
shortDescription
=
QString
(
p_event
->
psz_short_description
);
item
->
description
=
qfu
(
p_event
->
psz_description
);
item
->
shortDescription
=
qfu
(
p_event
->
psz_short_description
);
item
->
start
=
QDateTime
::
fromTime_t
(
p_event
->
i_start
);
item
->
duration
=
p_event
->
i_duration
;
item
->
channelName
=
channelName
;
...
...
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