Parcourir la source

Fix unused parameter warning in ctkLayoutViewFactory

Jean-Christophe Fillion-Robin il y a 10 ans
Parent
commit
82dd125482
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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;
     }
 };