diff --git a/docs/book/src/misc_impl_details.md b/docs/book/src/misc_impl_details.md index c005ec8cb..ac120e7e8 100644 --- a/docs/book/src/misc_impl_details.md +++ b/docs/book/src/misc_impl_details.md @@ -10,7 +10,7 @@ We have the following global event filters: - DockRegistry singleton Catches expose events to maintain floating window z-order. Catches clicking on a MDI dock widget, to raise it. - For hidding the auto-hide sidebar overlay when clicking elsewhere. + For hiding the auto-hide sidebar overlay when clicking elsewhere. - FallbackMouseGrabber For platforms that don't support grabbing the mouse. Mostly for QtQuick to workaround bugs. diff --git a/examples/dockwidgets/MyViewFactory.cpp b/examples/dockwidgets/MyViewFactory.cpp index 8655cc9e5..e6efe4bf1 100644 --- a/examples/dockwidgets/MyViewFactory.cpp +++ b/examples/dockwidgets/MyViewFactory.cpp @@ -53,7 +53,7 @@ class MyTitleBar : public KDDockWidgets::QtWidgets::TitleBar // Not needed to override. Just here to illustrate setHideDisabledButtons() void init() override { - // For demo purposes, we're hidding the close button if it's disabled (non-closable dock widget) + // For demo purposes, we're hiding the close button if it's disabled (non-closable dock widget) // Affects dock #0 when running: ./bin/qtwidgets_dockwidgets -n -p m_controller->setHideDisabledButtons(KDDockWidgets::TitleBarButtonType::Close); diff --git a/src/KDDockWidgets.h b/src/KDDockWidgets.h index 817d093e1..af787955c 100644 --- a/src/KDDockWidgets.h +++ b/src/KDDockWidgets.h @@ -378,8 +378,8 @@ enum class CloseReason { Unspecified = 0, /// probably programmatically TitleBarCloseButton = 1, /// User clicked titlebar close button Action = 2, /// User clicked menu with QAction - MovedToSideBar = 4, /// User clicked the pin-button (or programatically) (auto-hide/sidebar/pin-unpin functionallity) - OverlayCollapse = 8 /// Dock widget went from overlay to sidebar (auto-hide/sidebar/pin-unpin functionallity) + MovedToSideBar = 4, /// User clicked the pin-button (or programmatically) (auto-hide/sidebar/pin-unpin functionality) + OverlayCollapse = 8 /// Dock widget went from overlay to sidebar (auto-hide/sidebar/pin-unpin functionality) }; /// @brief Initializes the desired frontend diff --git a/src/core/DockWidget_p.h b/src/core/DockWidget_p.h index cd8bfdbae..22c6cf9fc 100644 --- a/src/core/DockWidget_p.h +++ b/src/core/DockWidget_p.h @@ -41,7 +41,7 @@ class DOCKS_EXPORT_FOR_UNIT_TESTS DockWidget::Private { dw->d->m_willUpdateActions--; - // only the last one (the outter one, updates actions, in case of nesting) + // only the last one (the outer one, updates actions, in case of nesting) if (dw->d->m_willUpdateActions == 0) { dw->d->updateFloatAction(); if (dw->isOpen() != dw->toggleAction()->isChecked())