Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.4.2, 5.5.0
-
Mac OS X 10.10, Qt 5.4.2, Qt 5.5.0
Description
We've compiled "Main Window" from the Qt examples. The blue QDockWidget is using a customized tool-bar (subclass of QWidget). When the dock-widget is undocked it flickers while resizing it.
The other QDockWidgets within the example work like a charm. If we outcomment
BlueTitleBar *titlebar = new BlueTitleBar(swatch);
swatch->setTitleBarWidget(titlebar);
connect(swatch, SIGNAL(topLevelChanged(bool)), titlebar, SLOT(updateMask()));
connect(swatch, SIGNAL(featuresChanged(QDockWidget::DockWidgetFeatures)), titlebar, SLOT(updateMask()), Qt::QueuedConnection);
also the blue widget's resize-behaviour is fine.