diff --git a/src/app/ui/editor/editor.cpp b/src/app/ui/editor/editor.cpp index 34cc2298e..8c7659ca1 100644 --- a/src/app/ui/editor/editor.cpp +++ b/src/app/ui/editor/editor.cpp @@ -1015,7 +1015,6 @@ void Editor::updateQuicktool() if (m_customizationDelegate && !hasCapture()) { auto activeToolManager = App::instance()->activeToolManager(); tools::Tool* selectedTool = activeToolManager->selectedTool(); - tools::Tool* oldQuicktool = activeToolManager->quickTool(); // Don't change quicktools if we are in a selection tool and using // the selection modifiers. diff --git a/src/app/ui/editor/editor.h b/src/app/ui/editor/editor.h index d96f743b2..41a03797d 100644 --- a/src/app/ui/editor/editor.h +++ b/src/app/ui/editor/editor.h @@ -320,7 +320,6 @@ namespace app { DocumentView* m_docView; gfx::Point m_oldPos; - ui::PointerType m_lastPointerType; EditorFlags m_flags;