From 174d31a12a157cd164b4d075743e47c325752d19 Mon Sep 17 00:00:00 2001 From: David Capello Date: Thu, 28 Apr 2016 23:04:55 -0300 Subject: [PATCH] Remove unused variables in app::Editor class --- src/app/ui/editor/editor.cpp | 1 - src/app/ui/editor/editor.h | 1 - 2 files changed, 2 deletions(-) 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;