Commit 5fb2dcea authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

QTabBar: Fix crash when the tab being dragged is deleted programmatically.


Call QTabBarPrivate::moveTabFinished() from QTabBar::removeTab()
to cancel any drag in progress to prevent crashes due
to invalidated indexes.

Task-number: QTBUG-52527
Change-Id: I5bd8cc6f55e5aea1f1a4710494ba5b92939a42ee
Reviewed-by: default avatarOlivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
parent cc7cd619
Branches
Tags
No related merge requests found
Showing with 3 additions and 0 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment