mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-27 00:33:48 -05:00
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:
parent
16b50679e6
commit
3a521103a8
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user