disable loading of external plugins
Stefan Bund [Tue, 21 Dec 2010 14:15:45 +0000 (15:15 +0100)]
main.cc

diff --git a/main.cc b/main.cc
index d83af4a..355abf3 100644 (file)
--- a/main.cc
+++ b/main.cc
@@ -26,6 +26,8 @@
 #define prefix_
 ///////////////////////////////cc.p////////////////////////////////////////
 
+extern void qt_drt_overwritePluginDirectories();
+
 int main(int argc, char *argv[])
 {
     try {
@@ -70,6 +72,7 @@ int main(int argc, char *argv[])
         settings.beginGroup("Viewer");
 
         pykit::PythonPublisher publisher;
+        qt_drt_overwritePluginDirectories();
 
         QString url (settings.value("home").toString());
         if (arguments.size()>1)