forked from qt-creator/qt-creator
TextEditor: Draw background first.
Task-number: QTCREATORBUG-13028 Change-Id: I14ae1794c920b3877f9eca468e1180042b51fb3f Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com> Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
@@ -58,11 +58,8 @@ public:
|
||||
m_selections = selections;
|
||||
}
|
||||
|
||||
protected:
|
||||
virtual void paintEvent(QPaintEvent *e);
|
||||
|
||||
private:
|
||||
void paintSelections(QPaintEvent *e);
|
||||
void innerPaintEvent(QPaintEvent *e);
|
||||
void paintSelections(QPainter &painter,
|
||||
const QList<DiffSelection> &selections,
|
||||
const QTextBlock &block,
|
||||
|
||||
Reference in New Issue
Block a user