forked from qt-creator/qt-creator
DiffEditor: remove unused member of SideBySideDiffEditorWidget
Change-Id: Ic46fe95bc493c9242b0896737fb324f3816cc0d4 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -133,7 +133,6 @@ private:
|
||||
QMap<int, QPair<int, int> > m_chunkInfo;
|
||||
// block number, separator. Set for file, chunk or span line.
|
||||
QMap<int, bool> m_separators;
|
||||
bool m_inPaintEvent = false;
|
||||
QColor m_fileLineForeground;
|
||||
QColor m_chunkLineForeground;
|
||||
QColor m_textForeground;
|
||||
@@ -446,9 +445,7 @@ static QString skippedText(int skippedNumber)
|
||||
|
||||
void SideDiffEditorWidget::paintEvent(QPaintEvent *e)
|
||||
{
|
||||
m_inPaintEvent = true;
|
||||
SelectableTextEditorWidget::paintEvent(e);
|
||||
m_inPaintEvent = false;
|
||||
|
||||
QPainter painter(viewport());
|
||||
QPointF offset = contentOffset();
|
||||
|
||||
Reference in New Issue
Block a user