diff --git a/demo/main.cpp b/demo/main.cpp index 1a2bd47..00a37b4 100644 --- a/demo/main.cpp +++ b/demo/main.cpp @@ -1,5 +1,3 @@ -#include - #include #include #include diff --git a/src/DockContainerWidget.cpp b/src/DockContainerWidget.cpp index b8f4d9d..776133f 100644 --- a/src/DockContainerWidget.cpp +++ b/src/DockContainerWidget.cpp @@ -399,7 +399,6 @@ void DockContainerWidgetPrivate::dropIntoSection(CFloatingDockContainer* Floatin return; } - CDockContainerWidget* FloatingContainer = FloatingWidget->dockContainer(); auto InsertParam = internal::dockAreaInsertParameters(area); auto NewDockAreas = FloatingWidget->dockContainer()->findChildren( QString(), Qt::FindChildrenRecursively);