Browse Source

Fixed bug: using equals operator instead of assignment

Sascha Zelzer 15 years ago
parent
commit
cf50605f03
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Libs/PluginFramework/ctkServices.cpp

+ 1 - 1
Libs/PluginFramework/ctkServices.cpp

@@ -411,7 +411,7 @@ QList<ctkServiceRegistration*> ctkServices::getRegisteredByPlugin(ctkPluginPriva
   for (QHashIterator<ctkServiceRegistration*, QStringList> i(services); i.hasNext(); )
   {
     ctkServiceRegistration* sr = i.next().key();
-    if ((sr->d_func()->plugin = p))
+    if ((sr->d_func()->plugin == p))
     {
       res.push_back(sr);
     }