Skip to content

Commit

Permalink
Fix services GetChannelIcon() when height or width are specified
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartm committed Oct 18, 2013
1 parent 0d5cb10 commit 15b8290
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mythtv/programs/mythbackend/services/guide.cpp
Expand Up @@ -263,7 +263,7 @@ QFileInfo Guide::GetChannelIcon( int nChanId,
// -------------------------------------------------------------------

QString sNewFileName = QString( "%1.%2x%3.png" )
.arg( sFileName )
.arg( sFullFileName )
.arg( nWidth )
.arg( nHeight );

Expand All @@ -280,7 +280,7 @@ QFileInfo Guide::GetChannelIcon( int nChanId,

float fAspect = 0.0;

QImage *pImage = new QImage( sFileName );
QImage *pImage = new QImage( sFullFileName );

if (!pImage)
return QFileInfo();
Expand Down

0 comments on commit 15b8290

Please sign in to comment.