#6037 Fix broken override in ZeroconfServer

This commit is contained in:
Andrew Nelless 2017-05-18 01:00:16 +01:00
parent cc2f1146ea
commit e608f8f081
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ ZeroconfServer::ZeroconfServer(QObject* parent) :
{ {
} }
void ZeroconfServer::incomingConnection(int socketDescriptor) void ZeroconfServer::incomingConnection(qintptr socketDescriptor)
{ {
ZeroconfThread* thread = new ZeroconfThread(socketDescriptor, this); ZeroconfThread* thread = new ZeroconfThread(socketDescriptor, this);
connect(thread, SIGNAL(finished()), thread, SLOT(deleteLater())); connect(thread, SIGNAL(finished()), thread, SLOT(deleteLater()));

View File

@ -30,7 +30,7 @@ public:
ZeroconfServer(QObject* parent = 0); ZeroconfServer(QObject* parent = 0);
protected: protected:
void incomingConnection(int socketDescriptor); void incomingConnection(qintptr socketDescriptor) override;
private: private:
QStringList fortunes; QStringList fortunes;