Projects
Eulaceura:Factory
qt5-qtdeclarative
_service:obs_scm:0008-Fix-build-after-95290f66b...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:0008-Fix-build-after-95290f66b806a307b8da1f72f8fc2c698019.patch of Package qt5-qtdeclarative
From 63d011a519c1fee2a0f5dbcc204def9e950a168b Mon Sep 17 00:00:00 2001 From: Hannah von Reth <vonreth@kde.org> Date: Sat, 5 Nov 2022 18:48:41 +0100 Subject: [PATCH 08/26] Fix build after 95290f66b806a307b8da1f72f8fc2c69801933d0 --- src/quick/items/qquickdrag.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/quick/items/qquickdrag.cpp b/src/quick/items/qquickdrag.cpp index 3b50370355..383078b3b9 100644 --- a/src/quick/items/qquickdrag.cpp +++ b/src/quick/items/qquickdrag.cpp @@ -769,7 +769,7 @@ Qt::DropAction QQuickDragAttachedPrivate::startDrag(Qt::DropActions supportedAct QMimeData *mimeData = new QMimeData(); for (auto it = externalMimeData.cbegin(), end = externalMimeData.cend(); it != end; ++it) { - if (it.value().typeId() == QMetaType::QByteArray) + if (static_cast<QMetaType::Type>(it.value().type()) == QMetaType::QByteArray) mimeData->setData(it.key(), it.value().toByteArray()); else mimeData->setData(it.key(), it.value().toString().toUtf8()); -- 2.40.1
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2