aboutsummaryrefslogtreecommitdiff
path: root/src/scrolltext.cpp
diff options
context:
space:
mode:
authorSalanto <62221668+Salanto@users.noreply.github.com>2021-12-11 00:28:00 +0100
committerSalanto <62221668+Salanto@users.noreply.github.com>2021-12-11 02:09:27 +0100
commitbc49b3e976e4df01e983a9c9daea28287b9bee75 (patch)
tree9aa25ae92b58d6484c729a1a250121d54e431dfa /src/scrolltext.cpp
parentb8572f8afcba737182ceb243d14e82a544fb34ee (diff)
Update slots/signals to Qt5 connection style and eliminate some clazy warnings
Diffstat (limited to 'src/scrolltext.cpp')
-rw-r--r--src/scrolltext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scrolltext.cpp b/src/scrolltext.cpp
index d5da6ce5..b526a8ab 100644
--- a/src/scrolltext.cpp
+++ b/src/scrolltext.cpp
@@ -9,7 +9,7 @@ ScrollText::ScrollText(QWidget *parent) : QWidget(parent), scrollPos(0)
setSeparator(" --- ");
- connect(&timer, SIGNAL(timeout()), this, SLOT(timer_timeout()));
+ connect(&timer, &QTimer::timeout, this, &ScrollText::timer_timeout);
timer.setInterval(50);
}