Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
b2470265
Commit
b2470265
authored
Apr 12, 2010
by
Kai Koehne
Browse files
QmlDesigner: Fix compilation warning for debug builds
parent
dcafe3c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/core/instances/objectnodeinstance.cpp
View file @
b2470265
...
@@ -331,10 +331,12 @@ static QVariant objectToVariant(QObject *object)
...
@@ -331,10 +331,12 @@ static QVariant objectToVariant(QObject *object)
return
QVariant
::
fromValue
(
object
);
return
QVariant
::
fromValue
(
object
);
}
}
#ifndef QT_DEBUG
static
bool
hasFullImplementedListInterface
(
const
QDeclarativeListReference
&
list
)
static
bool
hasFullImplementedListInterface
(
const
QDeclarativeListReference
&
list
)
{
{
return
list
.
isValid
()
&&
list
.
canCount
()
&&
list
.
canAt
()
&&
list
.
canAppend
()
&&
list
.
canClear
();
return
list
.
isValid
()
&&
list
.
canCount
()
&&
list
.
canAt
()
&&
list
.
canAppend
()
&&
list
.
canClear
();
}
}
#endif
static
void
removeObjectFromList
(
const
QDeclarativeProperty
&
metaProperty
,
QObject
*
objectToBeRemoved
,
QDeclarativeEngine
*
engine
)
static
void
removeObjectFromList
(
const
QDeclarativeProperty
&
metaProperty
,
QObject
*
objectToBeRemoved
,
QDeclarativeEngine
*
engine
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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