Skip to content

Commit

Permalink
Merge pull request #3296 from nirvn/splashscreen_fix
Browse files Browse the repository at this point in the history
[splashscreen] fix pixelated scaling
  • Loading branch information
jef-n committed Jul 11, 2016
2 parents 2efe684 + de63202 commit c895ba3
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 c895ba3

Please sign in to comment.