mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-05-11 22:40:44 -05:00
Fix compilation error with Qt version used by Travis
This is another way to solve the overload.
This commit is contained in:
@@ -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<int>::of(&QSpinBox::valueChanged), this, [this](int pointSize) {
|
||||
connect(ui->fontSizeBox, static_cast<void (QSpinBox::*)(int)>(&QSpinBox::valueChanged), this,
|
||||
[this](int pointSize) {
|
||||
modifyColumnFormat(ui->dataTable->colsInSelection(), [pointSize](CondFormat& format) { format.setFontPointSize(pointSize); });
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user