Moved splashscreen to constructor of qgisapp

git-svn-id: http://svn.osgeo.org/qgis/trunk@527 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
timlinux 2004-01-19 22:58:20 +00:00
parent 849040d89a
commit 6f478a7869

View File

@ -22,7 +22,6 @@
#include <qtranslator.h>
#include <qstyle.h>
#include <qpixmap.h>
#include <splashscreen.h>
//#include "qgis.h"
#include "qgisapp.h"
@ -31,11 +30,6 @@ int main(int argc, char *argv[])
QApplication a(argc, argv);
//
// Set up the splash screen
//
SplashScreen *mySplash = new SplashScreen( );
mySplash->setStatus("Loading QGis...");
// a.setFont(QFont("helvetica", 11));
QTranslator tor(0);
@ -59,8 +53,6 @@ int main(int argc, char *argv[])
qgis->show();
a.connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()));
mySplash->finish( qgis );
delete mySplash;
//
//turn control over to the main application loop...
//