Skip to content

Commit 3637d6f

Browse files
nirvnjef-n
authored andcommittedJul 11, 2016
[splashscreen] fix pixelated scaling
(cherry picked from commit de63202)
1 parent 7a0453e commit 3637d6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ int main( int argc, char *argv[] )
10371037
int w = 600 * qApp->desktop()->logicalDpiX() / 96;
10381038
int h = 300 * qApp->desktop()->logicalDpiY() / 96;
10391039

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

0 commit comments

Comments
 (0)
Please sign in to comment.