Skip to content
Permalink
Browse files

[splashscreen] fix pixelated scaling

(cherry picked from commit de63202)
  • Loading branch information
nirvn authored and jef-n committed Jul 11, 2016
1 parent d0b3e39 commit 1b016e4579491d4aa0f6b01a3b915052748fc548
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/main.cpp
@@ -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

0 comments on commit 1b016e4

Please sign in to comment.
You can’t perform that action at this time.