diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-11-22 19:48:08 +0100 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2020-11-23 20:44:46 +0100 |
commit | 1ba6785e463971a478938ba80f068cc2e0b2595b (patch) | |
tree | 17e72ca4d12e850988bdbe90b86058376ff25d67 /rbutil/rbutilqt/sysinfo.cpp | |
parent | ec730f1609181a7fbf907f9e57380b2695ed6cbb (diff) | |
download | rockbox-1ba6785e463971a478938ba80f068cc2e0b2595b.tar.gz rockbox-1ba6785e463971a478938ba80f068cc2e0b2595b.zip |
rbutil: Modernize connect() to new pointer-to-member syntax.
Change-Id: I19f179907742092c970c27dd1bbf70f7e00fed76
Diffstat (limited to 'rbutil/rbutilqt/sysinfo.cpp')
-rw-r--r-- | rbutil/rbutilqt/sysinfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/sysinfo.cpp b/rbutil/rbutilqt/sysinfo.cpp index 9160ce9d9a..7d05bb8c9a 100644 --- a/rbutil/rbutilqt/sysinfo.cpp +++ b/rbutil/rbutilqt/sysinfo.cpp | |||
@@ -30,8 +30,8 @@ Sysinfo::Sysinfo(QWidget *parent) : QDialog(parent) | |||
30 | ui.setupUi(this); | 30 | ui.setupUi(this); |
31 | 31 | ||
32 | updateSysinfo(); | 32 | updateSysinfo(); |
33 | connect(ui.buttonOk, SIGNAL(clicked()), this, SLOT(close())); | 33 | connect(ui.buttonOk, &QAbstractButton::clicked, this, &Sysinfo::close); |
34 | connect(ui.buttonRefresh, SIGNAL(clicked()), this, SLOT(updateSysinfo())); | 34 | connect(ui.buttonRefresh, &QAbstractButton::clicked, this, &Sysinfo::updateSysinfo); |
35 | } | 35 | } |
36 | 36 | ||
37 | void Sysinfo::updateSysinfo(void) | 37 | void Sysinfo::updateSysinfo(void) |