summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2010-09-20 16:41:27 +0200
committerTobias Hunger <tobias.hunger@nokia.com>2010-09-20 16:51:07 +0200
commit5a234d01117c4348bf75dae0fa7cd1d6c83167ca (patch)
treefacdf6a4d6fc4b234786d5459e43131bf9ba8eb9 /src
parent2a44ef758cef4766bf312b51292f0bc74c0daf6b (diff)
downloadqt-creator-5a234d01117c4348bf75dae0fa7cd1d6c83167ca.tar.gz
Warning Fix
Reviewed-by: Thomas Hartmann
Diffstat (limited to 'src')
-rw-r--r--src/plugins/qmldesigner/components/propertyeditor/colorwidget.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/qmldesigner/components/propertyeditor/colorwidget.cpp b/src/plugins/qmldesigner/components/propertyeditor/colorwidget.cpp
index 6fcfa155aa..3bd5ca8023 100644
--- a/src/plugins/qmldesigner/components/propertyeditor/colorwidget.cpp
+++ b/src/plugins/qmldesigner/components/propertyeditor/colorwidget.cpp
@@ -802,7 +802,6 @@ void GradientLine::updateGradient()
QString oldId;
if (m_itemNode.isInBaseState()) {
if (modelNode.hasProperty(m_gradientName)) {
- if (modelNode.nodeProperty(m_gradientName).isValid());
oldId = modelNode.nodeProperty(m_gradientName).modelNode().id();
modelNode.removeProperty(m_gradientName);
}