File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -281,7 +281,11 @@ class QtServiceSysPrivate : public QtUnixServerSocket
281
281
QtServiceBase::ServiceFlags serviceFlags;
282
282
283
283
protected:
284
+ #if QT_VERSION >= 0x050000
285
+ void incomingConnection (qintptr socketDescriptor);
286
+ #else
284
287
void incomingConnection (int socketDescriptor);
288
+ #endif
285
289
286
290
private slots:
287
291
void slotReady ();
@@ -303,7 +307,11 @@ QtServiceSysPrivate::~QtServiceSysPrivate()
303
307
delete[] ident;
304
308
}
305
309
310
+ #if QT_VERSION >= 0x050000
311
+ void QtServiceSysPrivate::incomingConnection (qintptr socketDescriptor)
312
+ #else
306
313
void QtServiceSysPrivate::incomingConnection (int socketDescriptor)
314
+ #endif
307
315
{
308
316
QTcpSocket *s = new QTcpSocket (this );
309
317
s->setSocketDescriptor (socketDescriptor);
You can’t perform that action at this time.
0 commit comments