From 25cf8f77703fb5d2a19c74ec7682ca822bdfd09a Mon Sep 17 00:00:00 2001 From: Hannah von Reth Date: Sat, 12 Dec 2015 12:02:04 +0100 Subject: [PATCH] Fix timer connect --- src/plugins/frontends/pushover_frontend/pushover_frontend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/frontends/pushover_frontend/pushover_frontend.cpp b/src/plugins/frontends/pushover_frontend/pushover_frontend.cpp index 68db7c1..d263ead 100644 --- a/src/plugins/frontends/pushover_frontend/pushover_frontend.cpp +++ b/src/plugins/frontends/pushover_frontend/pushover_frontend.cpp @@ -164,7 +164,7 @@ void PushoverFrontend::connectToService() connect(m_socket.data(), &QWebSocket::disconnected, [this]() { snoreDebug(SNORE_WARNING) << "disconnected"; //TODO: use new style connect once we depend on qt 5.4 - QTimer::singleShot(500, this, SLOT(PushoverFrontend::connectToService())); + QTimer::singleShot(500, this, SLOT(connectToService())); }); connect(m_socket.data(), static_cast(&QWebSocket::error), [&](QAbstractSocket::SocketError error) { snoreDebug(SNORE_WARNING) << error << m_socket->errorString();