We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 010a850 commit 2a1c9c3Copy full SHA for 2a1c9c3
src/app/main.cpp
@@ -1034,8 +1034,8 @@ int main( int argc, char *argv[] )
1034
QString mySplashPath( QgsCustomization::instance()->splashPath() );
1035
QPixmap myPixmap( mySplashPath + QLatin1String( "splash.png" ) );
1036
1037
- double w = 600 * qApp->desktop()->logicalDpiX() / 96;
1038
- double h = 300 * qApp->desktop()->logicalDpiY() / 96;
+ int w = 600 * qApp->desktop()->logicalDpiX() / 96;
+ int h = 300 * qApp->desktop()->logicalDpiY() / 96;
1039
1040
QSplashScreen *mypSplash = new QSplashScreen( myPixmap.scaled( w, h, Qt::KeepAspectRatio ) );
1041
if ( !myHideSplash && !mySettings.value( "/qgis/hideSplash" ).toBool() )
0 commit comments