mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
DolphinQt: Make use of the C++11 signal/slot connection syntax.
Also use lambdas over one-line functions in some cases.
This commit is contained in:
@ -27,7 +27,7 @@ DSystemInfo::DSystemInfo(QWidget* parent_widget) :
|
||||
UpdateSystemInfo();
|
||||
|
||||
QPushButton* btn = m_ui->buttonBox->addButton(tr("Copy"), QDialogButtonBox::ActionRole);
|
||||
connect(btn, SIGNAL(pressed()), this, SLOT(CopyPressed()));
|
||||
connect(btn, &QPushButton::pressed, this, &DSystemInfo::CopyPressed);
|
||||
}
|
||||
|
||||
DSystemInfo::~DSystemInfo()
|
||||
|
Reference in New Issue
Block a user