Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
89c1b2c7
Commit
89c1b2c7
authored
Jun 15, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt/EPG: deactivate crashing code on Win32 for now.
parent
e29018e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
modules/gui/qt4/components/epg/EPGView.cpp
modules/gui/qt4/components/epg/EPGView.cpp
+8
-0
No files found.
modules/gui/qt4/components/epg/EPGView.cpp
View file @
89c1b2c7
...
@@ -60,7 +60,11 @@ void EPGView::setStartTime( const QDateTime& startTime )
...
@@ -60,7 +60,11 @@ void EPGView::setStartTime( const QDateTime& startTime )
for
(
int
i
=
0
;
i
<
itemList
.
count
();
++
i
)
for
(
int
i
=
0
;
i
<
itemList
.
count
();
++
i
)
{
{
#ifndef WIN32
EPGItem
*
item
=
dynamic_cast
<
EPGItem
*>
(
itemList
.
at
(
i
)
);
EPGItem
*
item
=
dynamic_cast
<
EPGItem
*>
(
itemList
.
at
(
i
)
);
#else
EPGItem
*
item
=
NULL
;
#endif
if
(
!
item
)
continue
;
if
(
!
item
)
continue
;
item
->
setStart
(
item
->
start
().
addSecs
(
diff
)
);
item
->
setStart
(
item
->
start
().
addSecs
(
diff
)
);
}
}
...
@@ -110,7 +114,11 @@ void EPGView::updateDuration()
...
@@ -110,7 +114,11 @@ void EPGView::updateDuration()
for
(
int
i
=
0
;
i
<
list
.
count
();
++
i
)
for
(
int
i
=
0
;
i
<
list
.
count
();
++
i
)
{
{
#ifndef WIN32
EPGItem
*
item
=
dynamic_cast
<
EPGItem
*>
(
list
.
at
(
i
)
);
EPGItem
*
item
=
dynamic_cast
<
EPGItem
*>
(
list
.
at
(
i
)
);
#else
EPGItem
*
item
=
NULL
;
#endif
if
(
!
item
)
continue
;
if
(
!
item
)
continue
;
QDateTime
itemEnd
=
item
->
start
().
addSecs
(
item
->
duration
()
);
QDateTime
itemEnd
=
item
->
start
().
addSecs
(
item
->
duration
()
);
...
...
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