diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-02-03 20:56:06 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-02-03 15:14:09 -0800 |
commit | cc9c24d46ae4c1a9acfc3f900d27d646a0e2b3f7 (patch) | |
tree | 63d8d3e1b8e1cf273a2d902fab5d53febd661ac6 /qt-ui/models.cpp | |
parent | 3671c991e82715279791bf1ec37367cae64352a4 (diff) | |
download | subsurface-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>
Diffstat (limited to 'qt-ui/models.cpp')
-rw-r--r-- | qt-ui/models.cpp | 2 |
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; |