From e608f8f0814454b14f9cb06a3d807b89d3f93463 Mon Sep 17 00:00:00 2001 From: Andrew Nelless Date: Thu, 18 May 2017 01:00:16 +0100 Subject: [PATCH] #6037 Fix broken override in ZeroconfServer --- src/gui/src/ZeroconfServer.cpp | 2 +- src/gui/src/ZeroconfServer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/src/ZeroconfServer.cpp b/src/gui/src/ZeroconfServer.cpp index d3d98518..e4d6dfd8 100644 --- a/src/gui/src/ZeroconfServer.cpp +++ b/src/gui/src/ZeroconfServer.cpp @@ -25,7 +25,7 @@ ZeroconfServer::ZeroconfServer(QObject* parent) : { } -void ZeroconfServer::incomingConnection(int socketDescriptor) +void ZeroconfServer::incomingConnection(qintptr socketDescriptor) { ZeroconfThread* thread = new ZeroconfThread(socketDescriptor, this); connect(thread, SIGNAL(finished()), thread, SLOT(deleteLater())); diff --git a/src/gui/src/ZeroconfServer.h b/src/gui/src/ZeroconfServer.h index 01e713d7..2f6c6f11 100644 --- a/src/gui/src/ZeroconfServer.h +++ b/src/gui/src/ZeroconfServer.h @@ -30,7 +30,7 @@ public: ZeroconfServer(QObject* parent = 0); protected: - void incomingConnection(int socketDescriptor); + void incomingConnection(qintptr socketDescriptor) override; private: QStringList fortunes;