summaryrefslogtreecommitdiff
path: root/Userland/Applications/PixelPaint/ToolboxWidget.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2023-03-06 17:16:25 +0100
committerAndreas Kling <kling@serenityos.org>2023-03-06 23:46:35 +0100
commit359d6e7b0b0ef7add9eb2015d0dd664a82cf73d7 (patch)
treebe51963e0f0dc7e1eeeb670188c8fe1fa5eea37f /Userland/Applications/PixelPaint/ToolboxWidget.cpp
parent689ca370d4eca80eb5c3856a69c3eed4ed848a29 (diff)
downloadserenity-359d6e7b0b0ef7add9eb2015d0dd664a82cf73d7.zip
Everywhere: Stop using NonnullOwnPtrVector
Same as NonnullRefPtrVector: weird semantics, questionable benefits.
Diffstat (limited to 'Userland/Applications/PixelPaint/ToolboxWidget.cpp')
-rw-r--r--Userland/Applications/PixelPaint/ToolboxWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Applications/PixelPaint/ToolboxWidget.cpp b/Userland/Applications/PixelPaint/ToolboxWidget.cpp
index f8bb4341f1..334e71cf97 100644
--- a/Userland/Applications/PixelPaint/ToolboxWidget.cpp
+++ b/Userland/Applications/PixelPaint/ToolboxWidget.cpp
@@ -71,7 +71,7 @@ void ToolboxWidget::setup_tools()
m_tools.append(move(tool));
if (is_default_tool) {
VERIFY(m_active_tool == nullptr);
- m_active_tool = &m_tools[m_tools.size() - 1];
+ m_active_tool = m_tools[m_tools.size() - 1];
action->set_checked(true);
}
};