Commit d89832ae authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Use consistently QDockWidget as nesting class prefix for its enums

GIT_SILENT
parent 4250c273
......@@ -140,7 +140,7 @@ QAction* IdealButtonBarWidget::addWidget(IdealDockWidget *dock,
Area *area, View *view)
{
if (m_area == Qt::BottomDockWidgetArea || m_area == Qt::TopDockWidgetArea)
dock->setFeatures( dock->features() | IdealDockWidget::DockWidgetVerticalTitleBar );
dock->setFeatures( dock->features() | QDockWidget::DockWidgetVerticalTitleBar );
dock->setArea(area);
dock->setView(view);
......
......@@ -199,7 +199,7 @@ void IdealController::dockLocationChanged(Qt::DockWidgetArea area)
}
if (area == Qt::BottomDockWidgetArea || area == Qt::TopDockWidgetArea)
dock->setFeatures(QDockWidget::DockWidgetClosable | QDockWidget::DockWidgetMovable | IdealDockWidget::DockWidgetVerticalTitleBar);
dock->setFeatures(QDockWidget::DockWidgetClosable | QDockWidget::DockWidgetMovable | QDockWidget::DockWidgetVerticalTitleBar);
else
dock->setFeatures(QDockWidget::DockWidgetClosable | QDockWidget::DockWidgetMovable);
}
......
Markdown is supported
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