BinEditor: Remove unneeded viewport update

Already done in setSizes

Change-Id: Ib64d27f86bcc03e4e5f667f92262a8be67b252ee
Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2016-06-21 22:57:05 +03:00
committed by Orgad Shaneh
parent e51322c314
commit 78cf39cf27

View File

@@ -1569,7 +1569,6 @@ void BinEditorWidget::updateContents()
m_oldData = m_data; m_oldData = m_data;
m_data.clear(); m_data.clear();
setSizes(baseAddress() + cursorPosition(), m_size, m_blockSize); setSizes(baseAddress() + cursorPosition(), m_size, m_blockSize);
viewport()->update();
} }
QPoint BinEditorWidget::offsetToPos(qint64 offset) const QPoint BinEditorWidget::offsetToPos(qint64 offset) const