Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix services GetChannelIcon() when height or width are specified

  • Loading branch information...
commit 15b82903a101eb2111889fb2c9600181f122dcce 1 parent 0d5cb10
Stuart Morgan stuartm authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 mythtv/programs/mythbackend/services/guide.cpp
4 mythtv/programs/mythbackend/services/guide.cpp
View
@@ -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();
Please sign in to comment.
Something went wrong with that request. Please try again.