Gui: move to new style connect()

This commit is contained in:
wmayer
2023-02-01 11:58:00 +01:00
committed by wwmayer
parent 25a63f8750
commit 2e5cb03261
43 changed files with 237 additions and 246 deletions

View File

@@ -51,7 +51,7 @@ DemoMode::DemoMode(QWidget* /*parent*/, Qt::WindowFlags fl)
timer = new QTimer(this);
timer->setInterval(1000 * ui->timeout->value());
connect(timer, SIGNAL(timeout()), this, SLOT(onAutoPlay()));
connect(timer, &QTimer::timeout, this, &DemoMode::onAutoPlay);
oldvalue = ui->angleSlider->value();
wasHidden = false;