Fix DropArea::numFrames()

Was counting with placeholder items too. This should fix title bars
being wrong in some cases.
This commit is contained in:
Sergio Martins
2020-05-25 20:12:29 +01:00
parent 944138273f
commit de09d5532f
2 changed files with 3 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ DropArea::~DropArea()
int DropArea::numFrames() const
{
return m_layout->count();
return m_layout->visibleCount();
}
Frame *DropArea::frameContainingPos(QPoint globalPos) const