Skip to content

Commit c895ba3

Browse files
authored
Merge pull request #3296 from nirvn/splashscreen_fix
[splashscreen] fix pixelated scaling
2 parents 2efe684 + de63202 commit c895ba3

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)