mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
DolphinQt: Use qOverload where applicable
Provides the same behvaior, but in a much more concise manner.
This commit is contained in:
@ -135,8 +135,8 @@ void GameConfigEdit::ConnectWidgets()
|
||||
{
|
||||
connect(m_edit, &QTextEdit::textChanged, this, &GameConfigEdit::SaveFile);
|
||||
connect(m_edit, &QTextEdit::selectionChanged, this, &GameConfigEdit::OnSelectionChanged);
|
||||
connect(m_completer, static_cast<void (QCompleter::*)(const QString&)>(&QCompleter::activated),
|
||||
this, &GameConfigEdit::OnAutoComplete);
|
||||
connect(m_completer, qOverload<const QString&>(&QCompleter::activated), this,
|
||||
&GameConfigEdit::OnAutoComplete);
|
||||
}
|
||||
|
||||
void GameConfigEdit::OnSelectionChanged()
|
||||
|
Reference in New Issue
Block a user