瀏覽代碼

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;
     }
 };