Try to fix compilation error in Linux with patched version of Qt 5

This commit is contained in:
Luis Ángel San Martín 2023-07-08 16:53:54 +02:00
parent ceb230a21c
commit 3bcbcd06ba

View File

@ -58,7 +58,7 @@ SelectVolume::SelectVolume(QWidget *parent)
filterEdit->setClearButtonEnabled(true);
connect(filterEdit, &QLineEdit::textChanged, proxyModel, &QSortFilterProxyModel::setFilterFixedString);
connect(tableVolumes->horizontalHeader(), &QHeaderView::sortIndicatorChanged, tableVolumes, &QTableView::sortByColumn);
connect(tableVolumes->horizontalHeader(), qOverload<int, Qt::SortOrder>(&QHeaderView::sortIndicatorChanged), tableVolumes, qOverload<int, Qt::SortOrder>(&QTableView::sortByColumn));
connect(tableVolumes, &QAbstractItemView::clicked, this, &SelectVolume::loadVolumeInfo);
paginator->setCustomLabel(tr("volumes"));