fix: some unuse argument warning

This commit is contained in:
ppphp
2024-03-30 13:53:08 +08:00
committed by wwmayer
parent 2bce6946dc
commit 041ed30055
4 changed files with 9 additions and 0 deletions

View File

@@ -75,6 +75,9 @@ bool ViewProviderPageExtension::extensionCanDropObjectEx(App::DocumentObject* ob
const char* subname,
const std::vector<std::string>& elements) const
{
Q_UNUSED(owner);
Q_UNUSED(subname);
Q_UNUSED(elements);
//only DrawView objects can live on pages (except special case Template)
if (obj->isDerivedFrom(TechDraw::DrawView::getClassTypeId())) {
return true;