Skip to content

Instantly share code, notes, and snippets.

@jef-n
Created May 22, 2012
Embed
What would you like to do?
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