From 1d34d21a60ad83c2ebb814d06019db8e11fca306 Mon Sep 17 00:00:00 2001 From: Sander Ferdinand Date: Tue, 27 Mar 2018 20:43:52 +0200 Subject: [PATCH] Removing unused function get_color() --- components/HistoryTable.qml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/components/HistoryTable.qml b/components/HistoryTable.qml index bcb869f2..660b89d9 100644 --- a/components/HistoryTable.qml +++ b/components/HistoryTable.qml @@ -81,14 +81,6 @@ ListView { } } - function get_color(i){ - if (i === 0){ - return "green"; - } else { - return "red"; - } - } - delegate: Rectangle { id: delegate property bool collapsed: index ? false : true