summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2016-04-20 00:59:11 +0200
committerAleix Pol <aleixpol@codereview.qt-project.org>2016-04-20 11:02:46 +0000
commit01e52200e2a76ec51c3bb9710617ac0c249a78bc (patch)
treece011f2202f8733b7350f237786235cbd1e83447
parenta5a02e74ff3d150f8ad9f28a01f74e42dc0f025b (diff)
downloadqtquickcontrols-01e52200e2a76ec51c3bb9710617ac0c249a78bc.tar.gz
Remove unused variable
Change-Id: If6a3ebfdea652437522d3a22e0399818d887b3d5 Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com>
-rw-r--r--src/controls/Private/qquickstyleitem.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/controls/Private/qquickstyleitem.cpp b/src/controls/Private/qquickstyleitem.cpp
index c8be5685..2fca6be6 100644
--- a/src/controls/Private/qquickstyleitem.cpp
+++ b/src/controls/Private/qquickstyleitem.cpp
@@ -280,7 +280,6 @@ QQuickStyleItem::~QQuickStyleItem()
void QQuickStyleItem::initStyleOption()
{
- QString type = elementType();
if (m_styleoption)
m_styleoption->state = 0;