mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Replaced QOverload with static_cast to assure downwards compatibility.
This commit is contained in:
parent
1855517eec
commit
20bc305983
@ -57,8 +57,8 @@ void TextEditWithCompletion::setCompleter( QCompleter* completer )
|
||||
m_completer->setWidget( this );
|
||||
m_completer->setCompletionMode( QCompleter::PopupCompletion );
|
||||
m_completer->setCaseSensitivity( Qt::CaseInsensitive );
|
||||
QObject::connect( m_completer,
|
||||
QOverload<const QString&>::of( &QCompleter::activated ),
|
||||
connect( m_completer,
|
||||
static_cast<void ( QCompleter::* )( const QString& )>( &QCompleter::activated ),
|
||||
this,
|
||||
&TextEditWithCompletion::insertCompletion );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user