소스 검색

Fix unused parameter warning in ctkLayoutViewFactory

Jean-Christophe Fillion-Robin 10 년 전
부모
커밋
82dd125482
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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;
     }
 };