mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
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:
parent
849040d89a
commit
6f478a7869
@ -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...
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user