Skip to content

Instantly share code, notes, and snippets.

@jef-n
Created May 22, 2012 19:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jef-n/2771088 to your computer and use it in GitHub Desktop.
Save jef-n/2771088 to your computer and use it in GitHub Desktop.
disable QgsCustomization::preNotify
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