Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix wrap modes not being set.
Change-Id: Id75ae3f01e6ed72b4a754e05bd55d5ed73b56920
Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
  • Loading branch information
Gunnar Sletta authored and Qt by Nokia committed Mar 14, 2012
1 parent eb04ab1 commit 956399f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/quick/items/qquickitem.cpp
Expand Up @@ -5740,7 +5740,7 @@ void QQuickItemLayer::setSize(const QSize &size)

void QQuickItemLayer::setWrapMode(QQuickShaderEffectSource::WrapMode mode)
{
if (mode != m_wrapMode)
if (mode == m_wrapMode)
return;
m_wrapMode = mode;

Expand Down

0 comments on commit 956399f

Please sign in to comment.