diff options
| author | Mikolaj Boc <mikolaj.boc@qt.io> | 2022-10-19 14:12:06 +0200 |
|---|---|---|
| committer | Mikolaj Boc <mikolaj.boc@qt.io> | 2022-10-20 16:36:23 +0200 |
| commit | fffea48ea57fc71993a43d7658c1e49d14234b87 (patch) | |
| tree | 5b898ef323ea6b981f29de0c62851609face7e67 /src/plugins/platforms/wasm/qwasmwindowstack.cpp | |
| parent | cdd7163c6071ac2020a1750cf2820ecea057abe4 (diff) | |
Fix typo in QWasmWindowStack's name
'Wasm' in it is duplicated.
Change-Id: Ie00e02fb7ae4d9e13f490ce2d46a4eabf3f5710c
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmwindowstack.cpp')
| -rw-r--r-- | src/plugins/platforms/wasm/qwasmwindowstack.cpp | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/src/plugins/platforms/wasm/qwasmwindowstack.cpp b/src/plugins/platforms/wasm/qwasmwindowstack.cpp index c73ecde9fbe..098f1c1ff20 100644 --- a/src/plugins/platforms/wasm/qwasmwindowstack.cpp +++ b/src/plugins/platforms/wasm/qwasmwindowstack.cpp @@ -5,14 +5,14 @@ QT_BEGIN_NAMESPACE -QWasmWasmWindowStack::QWasmWasmWindowStack(TopWindowChangedCallbackType topWindowChangedCallback) +QWasmWindowStack::QWasmWindowStack(TopWindowChangedCallbackType topWindowChangedCallback) : m_topWindowChangedCallback(std::move(topWindowChangedCallback)) { } -QWasmWasmWindowStack::~QWasmWasmWindowStack() = default; +QWasmWindowStack::~QWasmWindowStack() = default; -void QWasmWasmWindowStack::pushWindow(QWasmWindow *window) +void QWasmWindowStack::pushWindow(QWasmWindow *window) { Q_ASSERT(m_windowStack.count(window) == 0); @@ -21,7 +21,7 @@ void QWasmWasmWindowStack::pushWindow(QWasmWindow *window) m_topWindowChangedCallback(); } -void QWasmWasmWindowStack::removeWindow(QWasmWindow *window) +void QWasmWindowStack::removeWindow(QWasmWindow *window) { Q_ASSERT(m_windowStack.count(window) == 1); @@ -37,7 +37,7 @@ void QWasmWasmWindowStack::removeWindow(QWasmWindow *window) m_topWindowChangedCallback(); } -void QWasmWasmWindowStack::raise(QWasmWindow *window) +void QWasmWindowStack::raise(QWasmWindow *window) { Q_ASSERT(m_windowStack.count(window) == 1); @@ -49,7 +49,7 @@ void QWasmWasmWindowStack::raise(QWasmWindow *window) m_topWindowChangedCallback(); } -void QWasmWasmWindowStack::lower(QWasmWindow *window) +void QWasmWindowStack::lower(QWasmWindow *window) { Q_ASSERT(m_windowStack.count(window) == 1); @@ -63,58 +63,58 @@ void QWasmWasmWindowStack::lower(QWasmWindow *window) m_topWindowChangedCallback(); } -QWasmWasmWindowStack::iterator QWasmWasmWindowStack::begin() +QWasmWindowStack::iterator QWasmWindowStack::begin() { return m_windowStack.rbegin(); } -QWasmWasmWindowStack::iterator QWasmWasmWindowStack::end() +QWasmWindowStack::iterator QWasmWindowStack::end() { return m_windowStack.rend(); } -QWasmWasmWindowStack::const_iterator QWasmWasmWindowStack::begin() const +QWasmWindowStack::const_iterator QWasmWindowStack::begin() const { return m_windowStack.rbegin(); } -QWasmWasmWindowStack::const_iterator QWasmWasmWindowStack::end() const +QWasmWindowStack::const_iterator QWasmWindowStack::end() const { return m_windowStack.rend(); } -QWasmWasmWindowStack::const_reverse_iterator QWasmWasmWindowStack::rbegin() const +QWasmWindowStack::const_reverse_iterator QWasmWindowStack::rbegin() const { return m_windowStack.begin(); } -QWasmWasmWindowStack::const_reverse_iterator QWasmWasmWindowStack::rend() const +QWasmWindowStack::const_reverse_iterator QWasmWindowStack::rend() const { return m_windowStack.end(); } -bool QWasmWasmWindowStack::empty() const +bool QWasmWindowStack::empty() const { return m_windowStack.empty(); } -size_t QWasmWasmWindowStack::size() const +size_t QWasmWindowStack::size() const { return m_windowStack.size(); } -QWasmWindow *QWasmWasmWindowStack::rootWindow() const +QWasmWindow *QWasmWindowStack::rootWindow() const { return m_firstWindowTreatment == FirstWindowTreatment::AlwaysAtBottom ? m_windowStack.first() : nullptr; } -QWasmWindow *QWasmWasmWindowStack::topWindow() const +QWasmWindow *QWasmWindowStack::topWindow() const { return m_windowStack.empty() ? nullptr : m_windowStack.last(); } -QWasmWasmWindowStack::StorageType::iterator QWasmWasmWindowStack::regularWindowsBegin() +QWasmWindowStack::StorageType::iterator QWasmWindowStack::regularWindowsBegin() { return m_windowStack.begin() + (m_firstWindowTreatment == FirstWindowTreatment::AlwaysAtBottom ? 1 : 0); |
