mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
Port from deprecated QTableView::sortByColumn(int)
QTableView::sortByColumn(int) > QTableView::sortByColumn(int column, Qt::SortOrder order) Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
This commit is contained in:
parent
018b8d1a28
commit
b82752a31e
@ -77,7 +77,7 @@ UserAgentDialog::UserAgentDialog(QWidget* parent)
|
||||
ui->table->setItem(row, 1, userAgentItem);
|
||||
}
|
||||
|
||||
ui->table->sortByColumn(-1);
|
||||
ui->table->sortByColumn(-1, Qt::AscendingOrder);
|
||||
|
||||
connect(ui->add, &QAbstractButton::clicked, this, &UserAgentDialog::addSite);
|
||||
connect(ui->remove, &QAbstractButton::clicked, this, &UserAgentDialog::removeSite);
|
||||
|
Loading…
Reference in New Issue
Block a user