diff --git a/src/DockAreaWidget.cpp b/src/DockAreaWidget.cpp index cba0650..ddd514a 100644 --- a/src/DockAreaWidget.cpp +++ b/src/DockAreaWidget.cpp @@ -270,7 +270,7 @@ struct DockAreaWidgetPrivate DockAreaWidgetPrivate(CDockAreaWidget* _public); /** - * Convencience function to ease components factory access + * Convenience function to ease components factory access */ QSharedPointer componentsFactory() const { @@ -379,10 +379,10 @@ void DockAreaWidgetPrivate::updateTitleBarButtonStates() if (_this->isAutoHide()) { - if (CDockManager::testAutoHideConfigFlag(CDockManager::AutoHideHasCloseButton)) - { + if (CDockManager::testAutoHideConfigFlag(CDockManager::AutoHideHasCloseButton)) + { TitleBar->button(TitleBarButtonClose)->setEnabled( - _this->features().testFlag(CDockWidget::DockWidgetClosable)); + _this->features().testFlag(CDockWidget::DockWidgetClosable)); } } else