mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-16 17:27:38 +00:00
Settings: remove unnecessary selection code
This commit is contained in:
parent
1dc8705c65
commit
8e10731e37
1 changed files with 0 additions and 4 deletions
|
@ -372,11 +372,7 @@ void Settings::setupThemeComboBox() {
|
|||
}
|
||||
|
||||
void Settings::setSelection(int index) {
|
||||
// You'd really think there is a better way
|
||||
QListWidgetItem *item = ui->selector->item(index);
|
||||
QModelIndex idx = ui->selector->indexFromItem(item);
|
||||
ui->selector->setCurrentRow(index);
|
||||
ui->selector->selectionModel()->select(idx, QItemSelectionModel::ClearAndSelect | QItemSelectionModel::Rows);
|
||||
}
|
||||
|
||||
void Settings::enableWebsocket(bool enabled) {
|
||||
|
|
Loading…
Reference in a new issue