diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-01-07 12:54:23 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-07 13:00:06 -0800 |
commit | 02103978ec89cc5538254cac82afc20e2084c004 (patch) | |
tree | f30edf671dcb97272f2e131bde0c7604644ad2ce /qt-ui/divelogimportdialog.cpp | |
parent | 2f5d4720e97fea6caf7e1e937ea90e3ae4bb6dc4 (diff) | |
download | subsurface-02103978ec89cc5538254cac82afc20e2084c004.tar.gz |
CVS import UI: mark the drop row in blue
That way it is distinct from the rest.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelogimportdialog.cpp')
-rw-r--r-- | qt-ui/divelogimportdialog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/divelogimportdialog.cpp b/qt-ui/divelogimportdialog.cpp index e3938608e..b2100d26a 100644 --- a/qt-ui/divelogimportdialog.cpp +++ b/qt-ui/divelogimportdialog.cpp @@ -226,6 +226,10 @@ QVariant ColumnNameResult::data(const QModelIndex &index, int role) const { if (!index.isValid()) return QVariant(); + if (role == Qt::BackgroundColorRole) + if (index.row() == 0) + return QVariant(AIR_BLUE_TRANS); + if (role != Qt::DisplayRole) return QVariant(); |