Skip to content

Commit a62d1bf

Browse files
author
wonder
committedOct 10, 2006
Better splash screen handling:
- with Qt4.2 it doesn't produce X server errors in RENDER extension - splash_mask.png is not needed - transparency is used from splash.png git-svn-id: http://svn.osgeo.org/qgis/trunk@5937 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent e274001 commit a62d1bf

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed
 

‎images/splash/splash_mask.png

-598 Bytes
Binary file not shown.

‎src/gui/main.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -462,8 +462,7 @@ int main(int argc, char *argv[])
462462
}
463463
else
464464
{
465-
QPixmap myMaskPixmap(mySplashPath+QString("splash_mask.png"), 0, Qt::ThresholdDither | Qt::ThresholdAlphaDither | Qt::AvoidDither );
466-
mypSplash->setMask( myMaskPixmap.createHeuristicMask() );
465+
mypSplash->setMask( myPixmap.mask() );
467466
mypSplash->show();
468467
}
469468

0 commit comments

Comments
 (0)
Please sign in to comment.