Skip to content

Commit

Permalink
[splashscreen] fix pixelated scaling
Browse files Browse the repository at this point in the history
(cherry picked from commit de63202)
  • Loading branch information
nirvn authored and jef-n committed Jul 11, 2016
1 parent 7a0453e commit 3637d6f
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 3637d6f

Please sign in to comment.