From 6ff75b475c2014271ac325aaf9cdae0d2909c0e6 Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Sat, 25 Dec 2021 17:29:55 +0100 Subject: rbutil: Modernize connect() calls. Auto fixed by clazy. Change-Id: Ib7cce8c0a85f8f915263980bf5d2508a4b19bbe3 --- utils/rbutilqt/preview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/rbutilqt/preview.cpp') diff --git a/utils/rbutilqt/preview.cpp b/utils/rbutilqt/preview.cpp index 5006a03a09..ba241dfe01 100644 --- a/utils/rbutilqt/preview.cpp +++ b/utils/rbutilqt/preview.cpp @@ -73,7 +73,7 @@ PreviewLabel::PreviewLabel(QWidget * parent, Qt::WindowFlags f) hovertimer.setInterval(1500); // wait for 1.5 seconds before showing the Fullsize Preview hovertimer.setSingleShot(true); - connect(&hovertimer,SIGNAL(timeout ()),this,SLOT(timeout())); + connect(&hovertimer, &QTimer::timeout, this, &PreviewLabel::timeout); } void PreviewLabel::mouseMoveEvent(QMouseEvent * event) -- cgit v1.2.3