Skip to content

Commit 30fb05a

Browse files
committed
Merge branch 'master' of github.com:qgis/Quantum-GIS
2 parents dca998f + 0dc5080 commit 30fb05a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/app/qgisapp.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -636,21 +636,21 @@ QgisApp::QgisApp( QSplashScreen *splash, bool restorePlugins, QWidget * parent,
636636
QgsDebugMsg( "Tips are disabled" );
637637
}
638638

639-
// supposedly all actions have been added, now register them to the shortcut manager
640-
QgsShortcutsManager::instance()->registerAllChildrenActions( this );
641-
642-
// request notification of FileOpen events (double clicking a file icon in Mac OS X Finder)
643-
QgsApplication::setFileOpenEventReceiver( this );
644-
645639
#ifdef HAVE_TOUCH
646640
//add reacting to long click in android
647641
grabGesture( Qt::TapAndHoldGesture );
648642
#else
649-
//remove mActionTouch button
643+
//remove mActionTouch button before populuating the shortcuts
650644
delete mActionTouch;
651645
mActionTouch = 0;
652646
#endif
653647

648+
// supposedly all actions have been added, now register them to the shortcut manager
649+
QgsShortcutsManager::instance()->registerAllChildrenActions( this );
650+
651+
// request notification of FileOpen events (double clicking a file icon in Mac OS X Finder)
652+
QgsApplication::setFileOpenEventReceiver( this );
653+
654654
// update windows
655655
qApp->processEvents();
656656

0 commit comments

Comments
 (0)