diff --git a/src/widget/form/chatform.cpp b/src/widget/form/chatform.cpp index 809156ff3..81f0bc49f 100644 --- a/src/widget/form/chatform.cpp +++ b/src/widget/form/chatform.cpp @@ -869,7 +869,7 @@ void ChatForm::onScreenshotClicked() doScreenshot(); // Give the window manager a moment to open the fullscreen grabber window - QTimer::singleShot(500, this, &ChatForm::hideFileMenu); + QTimer::singleShot(500, this, SLOT(hideFileMenu())); } void ChatForm::doScreenshot() diff --git a/src/widget/tool/flyoutoverlaywidget.cpp b/src/widget/tool/flyoutoverlaywidget.cpp index 3b2bdf2b7..777e59077 100644 --- a/src/widget/tool/flyoutoverlaywidget.cpp +++ b/src/widget/tool/flyoutoverlaywidget.cpp @@ -109,7 +109,7 @@ void FlyoutOverlayWidget::finishedAnimation() // Delay it by a few frames to let the system catch up on rendering if (hide) - QTimer::singleShot(50, this, &FlyoutOverlayWidget::hidden); + QTimer::singleShot(50, this, SIGNAL(hidden())); }