Checking for "QDockWidget" once should be enough.
Change-Id: I9276c4d0c80eb4f18d604c056dd1dd694dbd2f5f
Reviewed-on: http://codereview.qt-project.org/6061
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
w = new QDesignerMenu(parentWidget);
} else if (widgetName == m_strings.m_spacer) {
w = new Spacer(parentWidget);
- } else if (widgetName == m_strings.m_qDockWidget) {
- w = new QDesignerDockWidget(parentWidget);
} else if (widgetName == m_strings.m_qLayoutWidget) {
w = fw ? new QLayoutWidget(fw, parentWidget) : new QWidget(parentWidget);
} else if (widgetName == m_strings.m_qDialog) {