summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/systrace.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-11-22 19:48:08 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-11-23 20:44:46 +0100
commit1ba6785e463971a478938ba80f068cc2e0b2595b (patch)
tree17e72ca4d12e850988bdbe90b86058376ff25d67 /rbutil/rbutilqt/systrace.cpp
parentec730f1609181a7fbf907f9e57380b2695ed6cbb (diff)
downloadrockbox-1ba6785e463971a478938ba80f068cc2e0b2595b.tar.gz
rockbox-1ba6785e463971a478938ba80f068cc2e0b2595b.tar.bz2
rockbox-1ba6785e463971a478938ba80f068cc2e0b2595b.zip
rbutil: Modernize connect() to new pointer-to-member syntax.
Change-Id: I19f179907742092c970c27dd1bbf70f7e00fed76
Diffstat (limited to 'rbutil/rbutilqt/systrace.cpp')
-rw-r--r--rbutil/rbutilqt/systrace.cpp8
1 files changed, 4 insertions, 4 deletions
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)
ui.textTrace->setLayoutDirection(Qt::LeftToRight);
refresh();
- connect(ui.buttonClose, SIGNAL(clicked()), this, SLOT(close()));
- connect(ui.buttonSave, SIGNAL(clicked()), this, SLOT(saveCurrentTrace()));
- connect(ui.buttonSavePrevious, SIGNAL(clicked()), this, SLOT(savePreviousTrace()));
- connect(ui.buttonRefresh, SIGNAL(clicked()), this, SLOT(refresh()));
+ connect(ui.buttonClose, &QAbstractButton::clicked, this, &SysTrace::close);
+ connect(ui.buttonSave, &QAbstractButton::clicked, this, &SysTrace::saveCurrentTrace);
+ connect(ui.buttonSavePrevious, &QAbstractButton::clicked, this, &SysTrace::savePreviousTrace);
+ connect(ui.buttonRefresh, &QAbstractButton::clicked, this, &SysTrace::refresh);
}
void SysTrace::refresh(void)