Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ximi1970:Toolchains:Qt:MinGW:latest:win64
mingw64-libqt5-qtenginio
qtenginio-5.6.2-fix-building.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File qtenginio-5.6.2-fix-building.patch of Package mingw64-libqt5-qtenginio
diff -ru qtenginio/src/enginio_client/enginioclient.cpp qtenginio/src/enginio_client/enginioclient.cpp --- qtenginio/src/enginio_client/enginioclient.cpp 2024-07-30 18:29:39.922542592 +0200 +++ qtenginio/src/enginio_client/enginioclient.cpp 2024-07-30 18:40:14.470498257 +0200 @@ -323,8 +323,8 @@ // should never get here unless upload was successful Q_ASSERT(status == EnginioString::complete); delete deviceState.first; - if (_connections.count() * 2 > _chunkedUploads.count()) { - _connections.removeAll(QMetaObject::Connection()); + if (_connections.size() * 2 > _chunkedUploads.count()) { + _connections.remove(QMetaObject::Connection()); } } @@ -798,7 +798,7 @@ chunkDevice->setParent(reply); _chunkedUploads.insert(reply, qMakePair(device, endPos)); ereply->setNetworkReply(reply); - _connections.append(QObject::connect(reply, &QNetworkReply::uploadProgress, UploadProgressFunctor(this, reply))); + _connections.push_back(QObject::connect(reply, &QNetworkReply::uploadProgress, UploadProgressFunctor(this, reply))); } QByteArray EnginioClientConnectionPrivate::constructErrorMessage(const QByteArray &msg) diff -ru qtenginio/src/enginio_client/enginioclient_p.h qtenginio/src/enginio_client/enginioclient_p.h --- qtenginio/src/enginio_client/enginioclient_p.h 2024-07-30 18:29:39.922542592 +0200 +++ qtenginio/src/enginio_client/enginioclient_p.h 2024-07-30 18:38:32.490498833 +0200 @@ -53,7 +53,6 @@ #include <QtCore/qmimedatabase.h> #include <QtCore/qjsonarray.h> #include <QtCore/qbuffer.h> -#include <QtCore/qlinkedlist.h> #include <QtCore/quuid.h> #include <QtCore/qset.h> #include <QtCore/qlogging.h> @@ -61,6 +60,8 @@ #include <QtCore/private/qobject_p.h> +#include <list> + QT_BEGIN_NAMESPACE #define CHECK_AND_SET_URL_PATH_IMPL(Url, Object, Operation, Flags) \ @@ -290,7 +291,7 @@ QByteArray _backendId; EnginioIdentity *_identity; - QLinkedList<QMetaObject::Connection> _connections; + std::list<QMetaObject::Connection> _connections; QVarLengthArray<QMetaObject::Connection, 4> _identityConnections; QUrl _serviceUrl; QSharedPointer<QNetworkAccessManager> _networkManager; @@ -658,7 +659,7 @@ QNetworkReply *reply = networkManager()->post(req, multiPart); multiPart->setParent(reply); device->setParent(multiPart); - _connections.append(QObject::connect(reply, &QNetworkReply::uploadProgress, UploadProgressFunctor(this, reply))); + _connections.push_back(QObject::connect(reply, &QNetworkReply::uploadProgress, UploadProgressFunctor(this, reply))); return reply; } @@ -701,7 +702,7 @@ QNetworkReply *reply = networkManager()->post(req, object.toJson()); _chunkedUploads.insert(reply, qMakePair(device, static_cast<qint64>(0))); - _connections.append(QObject::connect(reply, &QNetworkReply::uploadProgress, UploadProgressFunctor(this, reply))); + _connections.push_back(QObject::connect(reply, &QNetworkReply::uploadProgress, UploadProgressFunctor(this, reply))); return reply; }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor