TextEditors: remove unused variables

Change-Id: Id0d2115c7d8819d35dc626d5605650f7b450ee87
Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
Eike Ziller
2014-03-07 08:34:22 +01:00
committed by hjk
parent 8931a14afe
commit 12b25ebd2e
2 changed files with 0 additions and 13 deletions

View File

@@ -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),

View File

@@ -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;