Pass the controller to DockWidgetViewInterface

So it can start to have an API
This commit is contained in:
Sergio Martins
2022-06-15 19:56:34 +01:00
parent 4a3d15432e
commit e754bb25c6
4 changed files with 14 additions and 1 deletions

View File

@@ -12,5 +12,12 @@
#include "DockWidgetViewInterface.h"
namespace KDDockWidgets::Views {
DockWidgetViewInterface::~DockWidgetViewInterface() = default;
DockWidgetViewInterface::DockWidgetViewInterface(Controllers::DockWidget *controller)
: m_dockWidget(controller)
{
}
DockWidgetViewInterface::~DockWidgetViewInterface() = default;
} // namespace