Procházet zdrojové kódy

Fix unused parameter warning in ctkLayoutViewFactory

Jean-Christophe Fillion-Robin před 10 roky
rodič
revize
82dd125482
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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;
     }
 };