From cc9c24d46ae4c1a9acfc3f900d27d646a0e2b3f7 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Tue, 3 Feb 2015 20:56:06 -0200 Subject: Do not set default bg to white on the models The user may have a different theme, as i did, and it looked very wrong. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/models.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'qt-ui/models.cpp') diff --git a/qt-ui/models.cpp b/qt-ui/models.cpp index b289813a3..f0c15d486 100644 --- a/qt-ui/models.cpp +++ b/qt-ui/models.cpp @@ -115,8 +115,6 @@ QVariant CylindersModel::data(const QModelIndex &index, int role) const if ((cyl->start.mbar && !cyl->end.mbar) || (cyl->end.mbar && cyl->start.mbar <= cyl->end.mbar)) ret = REDORANGE1_HIGH_TRANS; - else - ret = WHITE1; break; } break; -- cgit v1.2.3-70-g09d2