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
3f7e57a4
Commit
3f7e57a4
authored
Jun 18, 2010
by
Adrien Maglo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt/EPG: Display the short description and the long one when available.
parent
330016cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
modules/gui/qt4/dialogs/epg.cpp
modules/gui/qt4/dialogs/epg.cpp
+4
-5
No files found.
modules/gui/qt4/dialogs/epg.cpp
View file @
3f7e57a4
...
@@ -96,12 +96,11 @@ void EpgDialog::showEvent( EPGEvent *event )
...
@@ -96,12 +96,11 @@ void EpgDialog::showEvent( EPGEvent *event )
QDateTime
end
=
event
->
start
.
addSecs
(
event
->
duration
);
QDateTime
end
=
event
->
start
.
addSecs
(
event
->
duration
);
title
->
setText
(
event
->
start
.
toString
(
"hh:mm"
)
+
" - "
title
->
setText
(
event
->
start
.
toString
(
"hh:mm"
)
+
" - "
+
end
.
toString
(
"hh:mm"
)
+
" : "
+
end
.
toString
(
"hh:mm"
)
+
" : "
+
event
->
name
);
+
event
->
name
+
(
event
->
shortDescription
.
isEmpty
()
?
""
:
" - "
+
event
->
shortDescription
)
);
if
(
!
event
->
description
.
isEmpty
()
)
description
->
setText
(
event
->
description
);
description
->
setText
(
event
->
description
);
else
description
->
setText
(
event
->
shortDescription
);
}
}
void
EpgDialog
::
updateInfos
()
void
EpgDialog
::
updateInfos
()
...
...
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