Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KDE Connect
Commits
4e424b1b
Commit
4e424b1b
authored
Nov 24, 2021
by
Méven Car
Committed by
Méven Car
Nov 24, 2021
Browse files
Fix build error: invalid user-defined conversion from ‘QByteArray’ to ‘const char*’
NO_CHANGELOG
parent
5c765282
Pipeline
#100544
passed with stage
in 4 minutes and 5 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
core/networkpacket.cpp
View file @
4e424b1b
...
...
@@ -90,7 +90,7 @@ void qvariant2qobject(const QVariantMap& variant, T* object)
{
for
(
QVariantMap
::
const_iterator
iter
=
variant
.
begin
();
iter
!=
variant
.
end
();
++
iter
)
{
const
int
propertyIndex
=
T
::
staticMetaObject
.
indexOfProperty
(
iter
.
key
().
toLatin1
());
const
int
propertyIndex
=
T
::
staticMetaObject
.
indexOfProperty
(
iter
.
key
().
toLatin1
()
.
data
()
);
if
(
propertyIndex
<
0
)
{
qCWarning
(
KDECONNECT_CORE
)
<<
"missing property"
<<
object
<<
iter
.
key
();
continue
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment