Skip to content

Commit 2eee171

Browse files
committed
fixed Qt5 build for feed provider
1 parent 3b54d74 commit 2eee171

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/huggle_core/hugglefeedproviderxml.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,10 @@ bool HuggleFeedProviderXml::Start()
6767
#ifdef QT6_BUILD
6868
connect(this->networkSocket, &QAbstractSocket::errorOccurred, this, &HuggleFeedProviderXml::OnError);
6969
#else
70-
connect(this->networkSocket, &QAbstractSocket::error, this, &HuggleFeedProviderXml::OnError);
70+
connect(this->networkSocket,
71+
static_cast<void (QAbstractSocket::*)(QAbstractSocket::SocketError)>(&QAbstractSocket::error),
72+
this,
73+
&HuggleFeedProviderXml::OnError);
7174
#endif
7275
this->isConnecting = true;
7376
this->isWorking = true;

0 commit comments

Comments
 (0)