Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.2.0
-
None
-
e6d85cf28 (dev), a884cf6e8 (tqtc/lts-6.5), 9557d1ca9 (6.6)
Description
qmainwindowlayout.cpp, line 1551:
fixToolBarOrientation(widgetItem, currentGapPos.at(1)); << currentGapPos can be empty here
to repeat this situation:
create QDockWidget, using some existing QMainWindow object as parent.. execute the following methods of created QDockWidget: setFloating(true); setFeatures(0); setAllowedAreas(Qt::NoDockWidgetArea); show();
then try to grag this QDockWidget onto QMainWindow and release mouse..