Fix DropArea::numFrames()
Was counting with placeholder items too. This should fix title bars being wrong in some cases.
This commit is contained in:
@@ -56,7 +56,7 @@ DropArea::~DropArea()
|
||||
|
||||
int DropArea::numFrames() const
|
||||
{
|
||||
return m_layout->count();
|
||||
return m_layout->visibleCount();
|
||||
}
|
||||
|
||||
Frame *DropArea::frameContainingPos(QPoint globalPos) const
|
||||
|
||||
Reference in New Issue
Block a user