From 3a521103a8bafea4bb4e677055eefccbf6e480c4 Mon Sep 17 00:00:00 2001 From: timlinux Date: Fri, 21 May 2004 05:57:58 +0000 Subject: [PATCH] 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 --- src/splashscreen.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/splashscreen.cpp b/src/splashscreen.cpp index 2879055a3e4..792b0ead436 100644 --- a/src/splashscreen.cpp +++ b/src/splashscreen.cpp @@ -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();