Forgot to commit this yesterday..it has updates to load splash image from file rather than embedded in dialog as xpm.

git-svn-id: http://svn.osgeo.org/qgis/trunk@1441 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
timlinux 2004-05-21 05:57:58 +00:00
parent 16b50679e6
commit 3a521103a8

View File

@ -21,11 +21,10 @@
#include "splashscreen.h"
#include "qfont.h"
#include "qgis.h"
//splashscreen image
#include "xpm/splash.xpm"
SplashScreen::SplashScreen():QWidget(0, 0, WStyle_Customize | WStyle_Splash), splashImage((const char **) splash_xpm)
SplashScreen::SplashScreen():QWidget(0, 0, WStyle_Customize | WStyle_Splash)
{
splashImage.load(QString(PKGDATAPATH) + QString("/images/splash/splash.png"));
setErasePixmap(splashImage);
resize(splashImage.size());
QRect scr = QApplication::desktop()->screenGeometry();