Ver código fonte

Fix unused parameter warning in ctkLayoutViewFactory

Jean-Christophe Fillion-Robin 10 anos atrás
pai
commit
82dd125482
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      Libs/Widgets/ctkLayoutViewFactory.h

+ 1 - 0
Libs/Widgets/ctkLayoutViewFactory.h

@@ -180,6 +180,7 @@ public:
     this->setUseCachedViews(true);
   }
   virtual QWidget* createViewFromXML(QDomElement layoutElement){
+    Q_UNUSED(layoutElement);
     return new T;
     }
 };