Compile output: Do not do scroll wheel zooming

That was the behavior before the fix for QTBUG-30845 (which introduced
scroll wheel zooming for read-only QPlainTextEdit).

Change-Id: I216ed6c827d8dc966af3af67158e9c275c9fa949
Task-number: QTCREATORBUG-11017
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
This commit is contained in:
Eike Ziller
2015-03-17 09:59:17 +01:00
parent 4dc36974a8
commit ddac471a8e

View File

@@ -87,6 +87,13 @@ private slots:
}
protected:
void wheelEvent(QWheelEvent *ev)
{
// from QPlainTextEdit, but without scroll wheel zooming
QAbstractScrollArea::wheelEvent(ev);
updateMicroFocus();
}
void mouseDoubleClickEvent(QMouseEvent *ev)
{
int line = cursorForPosition(ev->pos()).block().blockNumber();