Removed superfluous windows.h include from main.cpp and removed unused local variable FloatingContainer from dropIntoSection() function

This commit is contained in:
Uwe Kindler 2019-01-14 14:18:44 +01:00
parent 32e5d599f7
commit b8ad2f7577
2 changed files with 0 additions and 3 deletions

View File

@ -1,5 +1,3 @@
#include <windows.h>
#include <MainWindow.h> #include <MainWindow.h>
#include <QString> #include <QString>
#include <QFile> #include <QFile>

View File

@ -399,7 +399,6 @@ void DockContainerWidgetPrivate::dropIntoSection(CFloatingDockContainer* Floatin
return; return;
} }
CDockContainerWidget* FloatingContainer = FloatingWidget->dockContainer();
auto InsertParam = internal::dockAreaInsertParameters(area); auto InsertParam = internal::dockAreaInsertParameters(area);
auto NewDockAreas = FloatingWidget->dockContainer()->findChildren<CDockAreaWidget*>( auto NewDockAreas = FloatingWidget->dockContainer()->findChildren<CDockAreaWidget*>(
QString(), Qt::FindChildrenRecursively); QString(), Qt::FindChildrenRecursively);