aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2014-03-07 08:34:22 +0100
committerhjk <hjk121@nokiamail.com>2014-03-07 12:53:13 +0100
commit12b25ebd2ec8e01f7dcb36a87fb80933e8c03294 (patch)
treef82b800d6e6daefebea0964f3745f9639dbb7aa6
parent8931a14afe50045537c30865183a679d96c7a79d (diff)
TextEditors: remove unused variables
Change-Id: Id0d2115c7d8819d35dc626d5605650f7b450ee87 Reviewed-by: David Schulz <david.schulz@digia.com>
-rw-r--r--src/plugins/texteditor/basetexteditor.cpp5
-rw-r--r--src/plugins/texteditor/basetexteditor_p.h8
2 files changed, 0 insertions, 13 deletions
diff --git a/src/plugins/texteditor/basetexteditor.cpp b/src/plugins/texteditor/basetexteditor.cpp
index 95bfc56881..e1a6ab6598 100644
--- a/src/plugins/texteditor/basetexteditor.cpp
+++ b/src/plugins/texteditor/basetexteditor.cpp
@@ -231,8 +231,6 @@ void BaseTextEditorWidget::ctor(const QSharedPointer<BaseTextDocument> &doc)
d->m_document = doc;
d->setupDocumentSignals();
- d->m_lastScrollPos = -1;
-
// from RESEARCH
setLayoutDirection(Qt::LeftToRight);
@@ -2344,13 +2342,10 @@ AutoCompleter *BaseTextEditorWidget::autoCompleter() const
BaseTextEditorWidgetPrivate::BaseTextEditorWidgetPrivate()
:
- m_lastScrollPos(-1),
- m_lineNumber(-1),
q(0),
m_contentsChanged(false),
m_lastCursorChangeWasInteresting(false),
m_parenthesesMatchingEnabled(false),
- m_updateTimer(0),
m_formatRange(false),
m_parenthesesMatchingTimer(0),
m_extraArea(0),
diff --git a/src/plugins/texteditor/basetexteditor_p.h b/src/plugins/texteditor/basetexteditor_p.h
index 87f9682912..7f2d65ebc7 100644
--- a/src/plugins/texteditor/basetexteditor_p.h
+++ b/src/plugins/texteditor/basetexteditor_p.h
@@ -108,23 +108,15 @@ public:
void print(QPrinter *printer);
- QTextBlock m_firstVisible;
- int m_lastScrollPos;
- int m_lineNumber;
-
BaseTextEditorWidget *q;
bool m_contentsChanged;
bool m_lastCursorChangeWasInteresting;
- QList<QTextEdit::ExtraSelection> m_syntaxHighlighterSelections;
- QTextEdit::ExtraSelection m_lineSelection;
-
QSharedPointer<BaseTextDocument> m_document;
QByteArray m_tempState;
QByteArray m_tempNavigationState;
bool m_parenthesesMatchingEnabled;
- QTimer *m_updateTimer;
// parentheses matcher
bool m_formatRange;