Commit 1f0c148a authored by Krzysztof Nowicki's avatar Krzysztof Nowicki

EWS: Unbreak streaming events subscriptions

Switching the singal/slot connetions to the C++11 syntax caused a
nasty side effect in that when the slot was not a virtual function the
connection was always made with the base class method.

Fix this by making the slot virtual.
parent 39657b56
......@@ -46,7 +46,7 @@ public Q_SLOTS:
Q_SIGNALS:
void eventsReceived(KJob *job);
protected Q_SLOTS:
void requestData(KIO::Job *job, const QByteArray &data);
void requestData(KIO::Job *job, const QByteArray &data) override;
void requestDataTimeout();
protected:
uint mTimeout;
......
......@@ -96,7 +96,7 @@ protected:
QString mResponseData;
protected Q_SLOTS:
void requestResult(KJob *job);
void requestData(KIO::Job *job, const QByteArray &data);
virtual void requestData(KIO::Job *job, const QByteArray &data);
private:
bool readSoapBody(QXmlStreamReader &reader);
bool readSoapFault(QXmlStreamReader &reader);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment