Skip to content

Commit

Permalink
fix various misspellings
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen Winter committed Apr 3, 2024
1 parent b243e25 commit 8cfc058
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/book/src/misc_impl_details.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion examples/dockwidgets/MyViewFactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
4 changes: 2 additions & 2 deletions src/KDDockWidgets.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/core/DockWidget_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 8cfc058

Please sign in to comment.