Skip to content

Commit

Permalink
Better splash screen handling:
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
wonder committed Oct 10, 2006
1 parent e274001 commit a62d1bf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Binary file removed images/splash/splash_mask.png
Binary file not shown.
3 changes: 1 addition & 2 deletions src/gui/main.cpp
Expand Up @@ -462,8 +462,7 @@ int main(int argc, char *argv[])
}
else
{
QPixmap myMaskPixmap(mySplashPath+QString("splash_mask.png"), 0, Qt::ThresholdDither | Qt::ThresholdAlphaDither | Qt::AvoidDither );
mypSplash->setMask( myMaskPixmap.createHeuristicMask() );
mypSplash->setMask( myPixmap.mask() );
mypSplash->show();
}

Expand Down

0 comments on commit a62d1bf

Please sign in to comment.