Created
May 22, 2012 19:23
-
-
Save jef-n/2771088 to your computer and use it in GitHub Desktop.
disable QgsCustomization::preNotify
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/app/main.cpp b/src/app/main.cpp | |
index 3253a34..f73ab00 100644 | |
--- a/src/app/main.cpp | |
+++ b/src/app/main.cpp | |
@@ -649,11 +649,13 @@ int main( int argc, char *argv[] ) | |
QgisApp *qgis = new QgisApp( mypSplash, myRestorePlugins ); // "QgisApp" used to find canonical instance | |
qgis->setObjectName( "QgisApp" ); | |
+#if 0 | |
myApp.connect( | |
&myApp, SIGNAL( preNotify( QObject *, QEvent *, bool * ) ), | |
//qgis, SLOT( preNotify( QObject *, QEvent *)) | |
QgsCustomization::instance(), SLOT( preNotify( QObject *, QEvent *, bool * ) ) | |
); | |
+#endif | |
///////////////////////////////////////////////////////////////////// | |
// If no --project was specified, parse the args to look for a // |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment