Преглед на файлове

Fixed a enum warning and documentation typo.

Sascha Zelzer преди 13 години
родител
ревизия
da3a226331
променени са 2 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 2 1
      Libs/PluginFramework/ctkPluginFrameworkPrivate.cpp
  2. 1 1
      Libs/PluginFramework/ctkPluginFrameworkPrivate_p.h

+ 2 - 1
Libs/PluginFramework/ctkPluginFrameworkPrivate.cpp

@@ -93,7 +93,8 @@ void ctkPluginFrameworkPrivate::shutdown(bool restart)
     }
     break;
   case ctkPlugin::STOPPING:
-    // Shutdown already inprogress
+    // Shutdown already inprogress, fall through
+  case ctkPlugin::UNINSTALLED:
     break;
   }
 }

+ 1 - 1
Libs/PluginFramework/ctkPluginFrameworkPrivate_p.h

@@ -62,7 +62,7 @@ public:
   void uninitSystemPlugin();
 
   /**
-   * This method starts a thread that stop this Framework,
+   * This method starts a thread that stops this Framework,
    * stopping all started plug-ins.
    *
    * <p>If the framework is not started, this method does nothing.