Skip to content

Commit

Permalink
Convert QImage::numBytes() to QImage::byteCount().
Browse files Browse the repository at this point in the history
The numBytes() is not supported in Qt5 and byteCount() is supported by Qt4.6 and later.
  • Loading branch information
daniel-kristjansson committed Mar 1, 2013
1 parent 2b8584a commit b273763
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythui/mythimage.h
Expand Up @@ -84,7 +84,7 @@ class MUI_PUBLIC MythImage : public QImage, public ReferenceCounter

uint GetCacheSize(void) const
{
return (m_cached) ? numBytes() : 0;
return (m_cached) ? byteCount() : 0;
}

protected:
Expand Down

0 comments on commit b273763

Please sign in to comment.