From 41ffafd17ad8f0a7ee060cc9f48bca04a1e16cb6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 1 Aug 2014 21:21:06 +0300 Subject: Fix code style. --- src/gui/widgets/textfield.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/gui/widgets/textfield.cpp') diff --git a/src/gui/widgets/textfield.cpp b/src/gui/widgets/textfield.cpp index cdfbac68a..adb455432 100644 --- a/src/gui/widgets/textfield.cpp +++ b/src/gui/widgets/textfield.cpp @@ -78,13 +78,10 @@ #include "gui/fonts/font.h" -#include "gui/popups/popupmenu.h" - #include "resources/image.h" #include "resources/imagerect.h" #include "utils/copynpaste.h" -#include "utils/delete2.h" #include "utils/stringutils.h" #include "utils/timer.h" @@ -111,7 +108,6 @@ TextField::TextField(const Widget2 *restrict const widget, mCaretPosition(0), mXScroll(0), mCaretColor(&getThemeColor(Theme::CARET)), - mPopupMenu(nullptr), mMinimum(0), mMaximum(0), mLastEventPaste(false), @@ -162,8 +158,6 @@ TextField::~TextField() if (gui) gui->removeDragged(this); - delete2(mPopupMenu); - instances--; if (instances == 0) { -- cgit v1.2.3-70-g09d2