Skip to content

Commit

Permalink
Fix for #7598, CRS info on the lower right corner does not show anymore
Browse files Browse the repository at this point in the history
- Should not affect fix for #7532
  • Loading branch information
dakcarto committed Apr 14, 2013
1 parent dcf8d86 commit a276f01
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -711,19 +711,16 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, QWidget * parent,
// supposedly all actions have been added, now register them to the shortcut manager
QgsShortcutsManager::instance()->registerAllChildrenActions( this );

// request notification of FileOpen events (double clicking a file icon in Mac OS X Finder)
QgsApplication::setFileOpenEventReceiver( this );

QgsProviderRegistry::instance()->registerGuis( this );

// update windows
qApp->processEvents();

// check if a project has been loaded already via drag/drop or filesystem loading
if ( !QgsProject::instance() )
{
fileNewBlank(); // prepare empty project
}
fileNewBlank(); // prepare empty project, also skips any default templates from loading

// request notification of FileOpen events (double clicking a file icon in Mac OS X Finder)
// should come after fileNewBlank to ensure project is properly set up to receive any data source files
QgsApplication::setFileOpenEventReceiver( this );

} // QgisApp ctor

Expand Down

0 comments on commit a276f01

Please sign in to comment.