aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/printlayout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/printlayout.cpp b/qt-ui/printlayout.cpp
index 51b44c0ac..8b4d4ab45 100644
--- a/qt-ui/printlayout.cpp
+++ b/qt-ui/printlayout.cpp
@@ -283,7 +283,7 @@ QTableView *PrintLayout::createProfileTable(ProfilePrintModel *model, const int
// resize
table->resize(tableW, profilePrintTableMaxH);
// hide the grid and set a stylesheet
- table->setItemDelegate(new ProfilePrintDelegate(this));
+ table->setItemDelegate(new ProfilePrintDelegate(table));
table->setShowGrid(false);
table->setStyleSheet(
"QTableView { border: none }"