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
0d348f07
Commit
0d348f07
authored
Aug 16, 2011
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: use isEmpty() iso empty()
parent
c745ebb5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
modules/gui/qt4/components/epg/EPGView.cpp
modules/gui/qt4/components/epg/EPGView.cpp
+3
-3
modules/gui/qt4/util/customwidgets.cpp
modules/gui/qt4/util/customwidgets.cpp
+2
-2
No files found.
modules/gui/qt4/components/epg/EPGView.cpp
View file @
0d348f07
...
...
@@ -106,7 +106,7 @@ const QDateTime& EPGView::baseTime()
bool
EPGView
::
hasValidData
()
{
return
!
epgitemsByChannel
.
e
mpty
();
return
!
epgitemsByChannel
.
isE
mpty
();
}
static
void
cleanOverlapped
(
EPGEventByTimeQMap
*
epgItemByTime
,
EPGItem
*
epgItem
,
QGraphicsScene
*
scene
)
...
...
@@ -207,7 +207,7 @@ void EPGView::removeEPGEvent( vlc_epg_event_t *data, QString channelName )
delete
epgItem
;
}
if
(
epgItemByTime
->
keys
().
e
mpty
()
)
if
(
epgItemByTime
->
keys
().
isE
mpty
()
)
{
/* Now unused channel */
epgitemsByChannel
.
remove
(
channelName
);
delete
epgItemByTime
;
...
...
@@ -275,7 +275,7 @@ void EPGView::cleanup()
}
}
if
(
epgItemByTime
->
keys
().
e
mpty
()
)
if
(
epgItemByTime
->
keys
().
isE
mpty
()
)
{
/* Now unused channel */
epgitemsByChannel
.
remove
(
channelName
);
delete
epgItemByTime
;
...
...
modules/gui/qt4/util/customwidgets.cpp
View file @
0d348f07
...
...
@@ -344,7 +344,7 @@ void AnimatedIcon::play( int loops, int interval )
interval
=
20
;
}
if
(
!
mIdleFrame
&&
(
mFrames
.
e
mpty
()
||
loops
!=
0
)
)
if
(
!
mIdleFrame
&&
(
mFrames
.
isE
mpty
()
||
loops
!=
0
)
)
{
#ifndef NDEBUG
printf
(
"AnimatedIcon::play(): no frames to display"
);
...
...
@@ -373,7 +373,7 @@ void AnimatedIcon::play( int loops, int interval )
// private slot
void
AnimatedIcon
::
onTimerTick
()
{
//assert( !mFrames.
e
mpty() );
//assert( !mFrames.
isE
mpty() );
if
(
++
mCurrentFrame
>
mFrames
.
count
()
)
{
if
(
mRemainingLoops
!=
-
1
)
...
...
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