From b8ad2f7577aa31aa01bd42c5cda99a7f603a01e4 Mon Sep 17 00:00:00 2001 From: Uwe Kindler Date: Mon, 14 Jan 2019 14:18:44 +0100 Subject: [PATCH] Removed superfluous windows.h include from main.cpp and removed unused local variable FloatingContainer from dropIntoSection() function --- demo/main.cpp | 2 -- src/DockContainerWidget.cpp | 1 - 2 files changed, 3 deletions(-) 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);