diff options
Diffstat (limited to 'rbutil/rbutilqt')
-rw-r--r-- | rbutil/rbutilqt/sysinfo.cpp | 4 | ||||
-rw-r--r-- | rbutil/rbutilqt/systrace.cpp | 8 |
2 files changed, 6 insertions, 6 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) |
diff --git a/rbutil/rbutilqt/systrace.cpp b/rbutil/rbutilqt/systrace.cpp index ba7f1e30e3..a20056b508 100644 --- a/rbutil/rbutilqt/systrace.cpp +++ b/rbutil/rbutilqt/systrace.cpp | |||
@@ -32,10 +32,10 @@ SysTrace::SysTrace(QWidget *parent) : QDialog(parent) | |||
32 | ui.textTrace->setLayoutDirection(Qt::LeftToRight); | 32 | ui.textTrace->setLayoutDirection(Qt::LeftToRight); |
33 | refresh(); | 33 | refresh(); |
34 | 34 | ||
35 | connect(ui.buttonClose, SIGNAL(clicked()), this, SLOT(close())); | 35 | connect(ui.buttonClose, &QAbstractButton::clicked, this, &SysTrace::close); |
36 | connect(ui.buttonSave, SIGNAL(clicked()), this, SLOT(saveCurrentTrace())); | 36 | connect(ui.buttonSave, &QAbstractButton::clicked, this, &SysTrace::saveCurrentTrace); |
37 | connect(ui.buttonSavePrevious, SIGNAL(clicked()), this, SLOT(savePreviousTrace())); | 37 | connect(ui.buttonSavePrevious, &QAbstractButton::clicked, this, &SysTrace::savePreviousTrace); |
38 | connect(ui.buttonRefresh, SIGNAL(clicked()), this, SLOT(refresh())); | 38 | connect(ui.buttonRefresh, &QAbstractButton::clicked, this, &SysTrace::refresh); |
39 | } | 39 | } |
40 | 40 | ||
41 | void SysTrace::refresh(void) | 41 | void SysTrace::refresh(void) |