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:
parent
7a1558e173
commit
cf6a0b46ef
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user