1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-24 04:36:34 +01:00

Port from QListWidget::setItemSelected > QListWidgetItem::setSelected

Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
This commit is contained in:
Juraj Oravec 2019-12-31 11:36:07 +01:00
parent 7a1558e173
commit cf6a0b46ef
No known key found for this signature in database
GPG Key ID: 63ACB65056BC8D07

View File

@ -518,7 +518,7 @@ Preferences::Preferences(BrowserWindow* window)
connect(ui->protocolHandlers, &QAbstractButton::clicked, this, &Preferences::openProtocolHandlersManager);
connect(ui->listWidget, &QListWidget::currentItemChanged, this, &Preferences::showStackedPage);
ui->listWidget->setItemSelected(ui->listWidget->itemAt(5, 5), true);
ui->listWidget->itemAt(5, 5)->setSelected(true);
ui->listWidget->setCurrentRow(currentSettingsPage);