mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00: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:
parent
3014feedc8
commit
8fbf70ec55
6 changed files with 44 additions and 75 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue