Skip to content

Commit

Permalink
[splashscreen] fix pixelated scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
nirvn committed Jul 11, 2016
1 parent 9c85f94 commit de63202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1037,7 +1037,7 @@ int main( int argc, char *argv[] )
int w = 600 * qApp->desktop()->logicalDpiX() / 96;
int h = 300 * qApp->desktop()->logicalDpiY() / 96;

QSplashScreen *mypSplash = new QSplashScreen( myPixmap.scaled( w, h, Qt::KeepAspectRatio ) );
QSplashScreen *mypSplash = new QSplashScreen( myPixmap.scaled( w, h, Qt::KeepAspectRatio, Qt::SmoothTransformation ) );
if ( !myHideSplash && !mySettings.value( "/qgis/hideSplash" ).toBool() )
{
//for win and linux we can just automask and png transparency areas will be used
Expand Down

0 comments on commit de63202

Please sign in to comment.