Sfoglia il codice sorgente

Fix unused parameter warning in ctkLayoutViewFactory

Jean-Christophe Fillion-Robin 10 anni fa
parent
commit
82dd125482
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      Libs/Widgets/ctkLayoutViewFactory.h

+ 1 - 0
Libs/Widgets/ctkLayoutViewFactory.h

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