forked from qt-creator/qt-creator
Remove some unneeded TextEditor:: qualifications
Change-Id: I9bf7df2f30001440af013b0dd4040a845df80300 Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
@@ -138,7 +138,7 @@ void DescriptionEditorWidget::setMarginSettings(const MarginSettings &ms)
|
|||||||
void DescriptionEditorWidget::mouseMoveEvent(QMouseEvent *e)
|
void DescriptionEditorWidget::mouseMoveEvent(QMouseEvent *e)
|
||||||
{
|
{
|
||||||
if (e->buttons()) {
|
if (e->buttons()) {
|
||||||
TextEditor::BaseTextEditorWidget::mouseMoveEvent(e);
|
BaseTextEditorWidget::mouseMoveEvent(e);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -153,7 +153,7 @@ void DescriptionEditorWidget::mouseMoveEvent(QMouseEvent *e)
|
|||||||
cursorShape = Qt::IBeamCursor;
|
cursorShape = Qt::IBeamCursor;
|
||||||
}
|
}
|
||||||
|
|
||||||
TextEditor::BaseTextEditorWidget::mouseMoveEvent(e);
|
BaseTextEditorWidget::mouseMoveEvent(e);
|
||||||
viewport()->setCursor(cursorShape);
|
viewport()->setCursor(cursorShape);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -168,7 +168,7 @@ void DescriptionEditorWidget::mouseReleaseEvent(QMouseEvent *e)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
TextEditor::BaseTextEditorWidget::mouseReleaseEvent(e);
|
BaseTextEditorWidget::mouseReleaseEvent(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool DescriptionEditorWidget::findContentsUnderCursor(const QTextCursor &cursor)
|
bool DescriptionEditorWidget::findContentsUnderCursor(const QTextCursor &cursor)
|
||||||
|
|||||||
Reference in New Issue
Block a user