From 02103978ec89cc5538254cac82afc20e2084c004 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 7 Jan 2015 12:54:23 -0800 Subject: CVS import UI: mark the drop row in blue That way it is distinct from the rest. Signed-off-by: Dirk Hohndel --- qt-ui/divelogimportdialog.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qt-ui/divelogimportdialog.cpp') 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(); -- cgit v1.2.3-70-g09d2