Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions framework/dockwindow_v2/internal/dockbase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ static QSize adjustSizeByConstraints(const QSize& size, const QSize& min, const
return size.expandedTo(min).boundedTo(max);
}

#if 0
static bool sizeInRange(const QSize& size, const QSize& min, const QSize& max)
{
bool widthInRange = size.width() >= min.width() && size.width() <= max.width();
Expand All @@ -63,6 +64,8 @@ static bool sizeInRange(const QSize& size, const QSize& min, const QSize& max)
return widthInRange && heightInRange;
}

#endif

static KDDockWidgets::Core::Group* groupForDockWidget(KDDockWidgets::Core::DockWidget* dw)
{
if (!dw) {
Expand Down