Find: Avoid virtual signals

Very unusual construct...

Task-number: QTCREATORBUG-12922
Change-Id: Ia7c3a3c2520ed53fdb83d91b50a0a6737f87d4f6
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
hjk
2014-08-28 17:32:34 +02:00
parent 9e3441df8b
commit f42fff7697
3 changed files with 12 additions and 5 deletions

View File

@@ -490,7 +490,7 @@ BaseTextEditorWidgetPrivate::BaseTextEditorWidgetPrivate(BaseTextEditorWidget *p
{
Aggregation::Aggregate *aggregate = new Aggregation::Aggregate;
BaseTextFind *baseTextFind = new BaseTextFind(q);
connect(baseTextFind, &BaseTextFind::highlightAll,
connect(baseTextFind, &BaseTextFind::highlightAllRequested,
this, &BaseTextEditorWidgetPrivate::highlightSearchResultsSlot);
connect(baseTextFind, &BaseTextFind::findScopeChanged,
this, &BaseTextEditorWidgetPrivate::setFindScope);