diff options
| author | Salanto <62221668+Salanto@users.noreply.github.com> | 2021-12-11 00:28:00 +0100 |
|---|---|---|
| committer | Salanto <62221668+Salanto@users.noreply.github.com> | 2021-12-11 02:09:27 +0100 |
| commit | bc49b3e976e4df01e983a9c9daea28287b9bee75 (patch) | |
| tree | 9aa25ae92b58d6484c729a1a250121d54e431dfa /src/aolayer.cpp | |
| parent | b8572f8afcba737182ceb243d14e82a544fb34ee (diff) | |
Update slots/signals to Qt5 connection style and eliminate some clazy warnings
Diffstat (limited to 'src/aolayer.cpp')
| -rw-r--r-- | src/aolayer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/aolayer.cpp b/src/aolayer.cpp index cf349996..dd1fe76c 100644 --- a/src/aolayer.cpp +++ b/src/aolayer.cpp @@ -12,16 +12,16 @@ AOLayer::AOLayer(QWidget *p_parent, AOApplication *p_ao_app) : QLabel(p_parent) shfx_timer = new QTimer(this); shfx_timer->setTimerType(Qt::PreciseTimer); shfx_timer->setSingleShot(true); - connect(shfx_timer, SIGNAL(timeout()), this, SLOT(shfx_timer_done())); + connect(shfx_timer, &QTimer::timeout, this, &AOLayer::shfx_timer_done); ticker = new QTimer(this); ticker->setTimerType(Qt::PreciseTimer); ticker->setSingleShot(false); - connect(ticker, SIGNAL(timeout()), this, SLOT(movie_ticker())); + connect(ticker, &QTimer::timeout, this, &AOLayer::movie_ticker); preanim_timer = new QTimer(this); preanim_timer->setSingleShot(true); - connect(preanim_timer, SIGNAL(timeout()), this, SLOT(preanim_done())); + connect(preanim_timer, &QTimer::timeout, this, &AOLayer::preanim_done); } BackgroundLayer::BackgroundLayer(QWidget *p_parent, AOApplication *p_ao_app) |
