summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2015-02-03 20:56:06 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-02-03 15:14:09 -0800
commitcc9c24d46ae4c1a9acfc3f900d27d646a0e2b3f7 (patch)
tree63d8d3e1b8e1cf273a2d902fab5d53febd661ac6
parent3671c991e82715279791bf1ec37367cae64352a4 (diff)
downloadsubsurface-cc9c24d46ae4c1a9acfc3f900d27d646a0e2b3f7.tar.gz
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 <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/models.cpp2
1 files changed, 0 insertions, 2 deletions
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;