aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/divelogimportdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/divelogimportdialog.cpp')
-rw-r--r--qt-ui/divelogimportdialog.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/qt-ui/divelogimportdialog.cpp b/qt-ui/divelogimportdialog.cpp
index aabd6df6a..506f9c8d6 100644
--- a/qt-ui/divelogimportdialog.cpp
+++ b/qt-ui/divelogimportdialog.cpp
@@ -480,3 +480,17 @@ void DiveLogImportDialog::on_buttonBox_accepted()
process_dives(true, false);
MainWindow::instance()->refreshDisplay();
}
+
+TagDragDelegate::TagDragDelegate(QObject *parent) : QStyledItemDelegate(parent)
+{
+}
+
+QSize TagDragDelegate::sizeHint(const QStyleOptionViewItem & option, const QModelIndex & index) const
+{
+ return QStyledItemDelegate::sizeHint(option, index);
+}
+
+void TagDragDelegate::paint(QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index) const
+{
+ QStyledItemDelegate::paint(painter, option, index);
+}