diff options
-rw-r--r-- | qt-ui/divelogimportdialog.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-ui/divelogimportdialog.cpp b/qt-ui/divelogimportdialog.cpp index 3c76665c9..8eadc5b32 100644 --- a/qt-ui/divelogimportdialog.cpp +++ b/qt-ui/divelogimportdialog.cpp @@ -493,5 +493,10 @@ QSize TagDragDelegate::sizeHint(const QStyleOptionViewItem & option, const QMode void TagDragDelegate::paint(QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index) const { + painter->save(); + painter->setRenderHints(QPainter::Antialiasing); + painter->drawRoundedRect(option.rect.adjusted(4,4,-4,-4), 5, 5); + painter->restore(); QStyledItemDelegate::paint(painter, option, index); } + |