From 90d6d113744f7f1e40a0188c898882b6f634f84b Mon Sep 17 00:00:00 2001
From: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Date: Wed, 8 May 2013 15:35:00 +0200
Subject: [PATCH] Revert "TableView: remove unused property backgroundColor"

This reverts commit 390c6fa663a824b348b3fb9c5459ce75cb4b83f1.

We actually do use this to set the background color.

Change-Id: I498b3695dfb9667d8d63983576eb16ad324ea798
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
---
 src/controls/TableView.qml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/controls/TableView.qml b/src/controls/TableView.qml
index 6669feaa3..3f95ec195 100644
--- a/src/controls/TableView.qml
+++ b/src/controls/TableView.qml
@@ -160,6 +160,12 @@ ScrollView {
     */
     property Component rowDelegate: __style ? __style.rowDelegate : null
 
+    /*! \qmlproperty color TableView::backgroundColor
+
+        This property sets the background color of the viewport.
+        The default value is the base color of the SystemPalette. */
+    property alias backgroundColor: colorRect.color
+
     /*! This property defines a delegate to draw a header. */
     property Component headerDelegate: __style ? __style.headerDelegate : null
 
-- 
GitLab