added null pointer protection

This commit is contained in:
Marco Bernasocchi 2012-04-13 17:40:11 +02:00
parent 751222bc4e
commit 5310b5bed0

View File

@ -648,6 +648,7 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, QWidget * parent,
#else
//remove mActionTouch button
delete mActionTouch;
mActionTouch=0;
#endif
// update windows