diff --git a/CMakeLists.txt b/CMakeLists.txt
index a9e45e2ebd9319d7ec3185712bd70d66fbdab069..96c0f384d5adb08a308329a66113913454bc5b97 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -16,6 +16,5 @@ openflipper_plugin ( OPTDEPS PhySim
 		     INSTALLDATA Icons
 		    )
 else()
-  openflipper_plugin ( LICENSEMANAGER
-                       INSTALLDATA Icons )
+  openflipper_plugin ( INSTALLDATA Icons )
 endif ()
diff --git a/PolyLinePlugin.hh b/PolyLinePlugin.hh
index f427fe5e54d0bebc002bf12c20e4ad7b638ac31b..357ef652776928a9d3e041be0ad52ac727711e22 100644
--- a/PolyLinePlugin.hh
+++ b/PolyLinePlugin.hh
@@ -48,7 +48,7 @@
 
 /** Plugin for PolyLine Support
  */
-class PolyLinePlugin : public BaseInterface, MouseInterface,
+class PolyLinePlugin : public QObject, BaseInterface, MouseInterface,
 PickingInterface, ToolboxInterface, LoggingInterface, LoadSaveInterface, ToolbarInterface, ScriptInterface
 {
   Q_OBJECT
@@ -272,7 +272,7 @@ private:
 };
 
 #if defined(INCLUDE_TEMPLATES) && !defined(POLYLINEPLUGIN_CC)
-#define SCISSORPLUGIN_TEMPLATES
+#define POLYLINEPLUGIN_TEMPLATES
 #include "PolyLinePluginT.cc"
 #endif