summaryrefslogtreecommitdiffstats
path: root/src/datavis3dqml2/declarativebars.cpp
diff options
context:
space:
mode:
authorTomi Korpipää <tomi.korpipaa@digia.com>2013-08-26 09:09:12 +0300
committerTomi Korpipää <tomi.korpipaa@digia.com>2013-08-26 09:17:16 +0300
commit46b118845dbc45e53f7b145f226b5405797693c7 (patch)
tree2f568d5efcc82defe0330f67c331e9c6d3e7af7a /src/datavis3dqml2/declarativebars.cpp
parent792d11e1093aa4e3ac249c57691c3bea6d07bc41 (diff)
Removed setwindowtitle and made parameters const ref
Task-number: QTRD-2211 Change-Id: Ib4087b40bb8d0e72d9fc4fe0c97acce4996b7fbd Change-Id: Ib4087b40bb8d0e72d9fc4fe0c97acce4996b7fbd Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Diffstat (limited to 'src/datavis3dqml2/declarativebars.cpp')
-rw-r--r--src/datavis3dqml2/declarativebars.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datavis3dqml2/declarativebars.cpp b/src/datavis3dqml2/declarativebars.cpp
index 3c11085e..5d40df8c 100644
--- a/src/datavis3dqml2/declarativebars.cpp
+++ b/src/datavis3dqml2/declarativebars.cpp
@@ -99,8 +99,8 @@ void DeclarativeBars::setDataWindow(int rowCount, int columnCount)
m_shared->setDataWindow(rowCount, columnCount);
}
-void DeclarativeBars::setBarColor(QColor baseColor, QColor heightColor, QColor depthColor,
- bool uniform)
+void DeclarativeBars::setBarColor(const QColor &baseColor, const QColor &heightColor,
+ const QColor &depthColor, bool uniform)
{
m_shared->setObjectColor(baseColor, heightColor, depthColor, uniform);
}