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
e600df62
Commit
e600df62
authored
Jun 17, 2010
by
Adrien Maglo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt/EPG: Display the program start and end times just before the title in the description box.
parent
fca4d1ec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
modules/gui/qt4/components/epg/EPGItem.cpp
modules/gui/qt4/components/epg/EPGItem.cpp
+2
-0
modules/gui/qt4/dialogs/epg.cpp
modules/gui/qt4/dialogs/epg.cpp
+5
-1
No files found.
modules/gui/qt4/components/epg/EPGItem.cpp
View file @
e600df62
...
...
@@ -153,5 +153,7 @@ void EPGItem::focusInEvent( QFocusEvent * event )
EPGEvent
*
evEPG
=
new
EPGEvent
(
m_name
);
evEPG
->
description
=
m_description
;
evEPG
->
shortDescription
=
m_shortDescription
;
evEPG
->
start
=
m_start
;
evEPG
->
duration
=
m_duration
;
m_view
->
eventFocused
(
evEPG
);
}
modules/gui/qt4/dialogs/epg.cpp
View file @
e600df62
...
...
@@ -93,7 +93,11 @@ void EpgDialog::showEvent( EPGEvent *event )
{
if
(
!
event
)
return
;
title
->
setText
(
event
->
name
);
QDateTime
end
=
event
->
start
.
addSecs
(
event
->
duration
);
title
->
setText
(
event
->
start
.
toString
(
"hh:mm"
)
+
" - "
+
end
.
toString
(
"hh:mm"
)
+
" : "
+
event
->
name
);
if
(
!
event
->
description
.
isEmpty
()
)
description
->
setText
(
event
->
description
);
else
...
...
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