aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tableview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/tableview.cpp')
-rw-r--r--desktop-widgets/tableview.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/desktop-widgets/tableview.cpp b/desktop-widgets/tableview.cpp
index 19aaf602b..2a6a2d535 100644
--- a/desktop-widgets/tableview.cpp
+++ b/desktop-widgets/tableview.cpp
@@ -60,7 +60,10 @@ TableView::TableView(QWidget *parent) : QGroupBox(parent)
iconSize = btnSize - 2*min_gap;
}
plusBtn->setIconSize(QSize(iconSize, iconSize));
+#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
+ // with Qt 5.15, this leads to an inoperable button
plusBtn->resize(btnSize, btnSize);
+#endif
connect(plusBtn, SIGNAL(clicked(bool)), this, SIGNAL(addButtonClicked()));
}