summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--color.h1
-rw-r--r--qt-ui/divelogimportdialog.cpp3
2 files changed, 3 insertions, 1 deletions
diff --git a/color.h b/color.h
index 4def4f18c..7938e59a6 100644
--- a/color.h
+++ b/color.h
@@ -51,6 +51,7 @@
#define ROYALBLUE2 QColor::fromRgbF(0.2, 0.2, 0.9, 1)
#define ROYALBLUE2_LOW_TRANS QColor::fromRgbF(0.2, 0.2, 0.9, 0.75)
#define AIR_BLUE QColor::fromRgbF(0.25, 0.75, 1.0, 1)
+#define AIR_BLUE_TRANS QColor::fromRgbF(0.25, 0.75, 1.0, 0.5)
// Yellows / BROWNS
#define SPRINGWOOD1 QColor::fromRgbF(0.95, 0.95, 0.9, 1)
diff --git a/qt-ui/divelogimportdialog.cpp b/qt-ui/divelogimportdialog.cpp
index b2100d26a..108de0f6b 100644
--- a/qt-ui/divelogimportdialog.cpp
+++ b/qt-ui/divelogimportdialog.cpp
@@ -501,7 +501,8 @@ void TagDragDelegate::paint(QPainter * painter, const QStyleOptionViewItem & opt
{
painter->save();
painter->setRenderHints(QPainter::Antialiasing);
- painter->drawRoundedRect(option.rect.adjusted(4,4,-4,-4), 5, 5);
+ painter->setBrush(QBrush(AIR_BLUE_TRANS));
+ painter->drawRoundedRect(option.rect.adjusted(2,2,-2,-2), 5, 5);
painter->restore();
QStyledItemDelegate::paint(painter, option, index);
}