Permalink
Browse files

Fix services GetChannelIcon() when height or width are specified

  • Loading branch information...
1 parent 0d5cb10 commit 15b82903a101eb2111889fb2c9600181f122dcce @stuartm stuartm committed Oct 18, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 mythtv/programs/mythbackend/services/guide.cpp
@@ -263,7 +263,7 @@ QFileInfo Guide::GetChannelIcon( int nChanId,
// -------------------------------------------------------------------
QString sNewFileName = QString( "%1.%2x%3.png" )
- .arg( sFileName )
+ .arg( sFullFileName )
.arg( nWidth )
.arg( nHeight );
@@ -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();

0 comments on commit 15b8290

Please sign in to comment.