diff --git a/src/TableBrowser.cpp b/src/TableBrowser.cpp index 38509007..c6fa1803 100644 --- a/src/TableBrowser.cpp +++ b/src/TableBrowser.cpp @@ -132,7 +132,8 @@ TableBrowser::TableBrowser(QWidget* parent) : connect(ui->fontComboBox, &QFontComboBox::currentFontChanged, this, [this](const QFont &font) { modifyColumnFormat(ui->dataTable->colsInSelection(), [font](CondFormat& format) { format.setFontFamily(font.family()); }); }); - connect(ui->fontSizeBox, QOverload::of(&QSpinBox::valueChanged), this, [this](int pointSize) { + connect(ui->fontSizeBox, static_cast(&QSpinBox::valueChanged), this, + [this](int pointSize) { modifyColumnFormat(ui->dataTable->colsInSelection(), [pointSize](CondFormat& format) { format.setFontPointSize(pointSize); }); });