Less DropArea qobject_casts
This commit is contained in:
@@ -82,18 +82,8 @@ public:
|
||||
LayoutSaver saver;
|
||||
saver.restoreFromDisk();
|
||||
});
|
||||
|
||||
/*connect(newAction, &QAction::triggered, this, [this] {
|
||||
auto dropArea = qobject_cast<DropArea*>(centralWidget());
|
||||
Q_ASSERT(dropArea);
|
||||
//if (dropArea->indicatorStyle() == DropIndicatorOverlayInterface::TypeAnimated)
|
||||
//dropArea->setIndicatorStyle(DropIndicatorOverlayInterface::TypeClassic);
|
||||
//else
|
||||
//dropArea->setIndicatorStyle(DropIndicatorOverlayInterface::TypeAnimated);
|
||||
});*/
|
||||
}
|
||||
|
||||
|
||||
QMenu *toggleMenu;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user