diff options
Diffstat (limited to 'qt-ui/tableview.cpp')
-rw-r--r-- | qt-ui/tableview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/tableview.cpp b/qt-ui/tableview.cpp index 93711ded1..6bb1944b8 100644 --- a/qt-ui/tableview.cpp +++ b/qt-ui/tableview.cpp @@ -11,7 +11,7 @@ TableView::TableView(QWidget *parent) : QWidget(parent) { ui.setupUi(this); - ui.tableView->setItemDelegate(new DiveListDelegate); + ui.tableView->setItemDelegate(new DiveListDelegate(this)); /* There`s mostly a need for a Mac fix here too. */ if (qApp->style()->objectName() == "gtk+") ui.groupBox->layout()->setContentsMargins(0, 9, 0, 0); |