Explorar el Código

Emit a signal if a plugin has been installed.

Sascha Zelzer hace 14 años
padre
commit
f68952d2ec
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      Libs/PluginFramework/ctkPlugins.cpp

+ 1 - 2
Libs/PluginFramework/ctkPlugins.cpp

@@ -110,8 +110,7 @@
         ctkPlugin* res = new ctkPlugin(fwCtx, pa);
         plugins.insert(location.toString(), res);
 
-        //TODO send event
-        //fwCtx.listeners.bundleChanged(new BundleEvent(BundleEvent.INSTALLED, b));
+        fwCtx->listeners.emitPluginChanged(ctkPluginEvent(ctkPluginEvent::INSTALLED, res));
 
         return res;
       }