mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-20 21:29:01 -04:00
parent
2cc0f6dcd7
commit
eefc8d3393
2 changed files with 14 additions and 1 deletions
|
@ -244,6 +244,9 @@ void SearchDialog::processSettings(bool bLoad)
|
|||
|
||||
// state of splitter
|
||||
ui.splitter->restoreState(Settings->value("Splitter").toByteArray());
|
||||
|
||||
ui._max_results_SB->setValue(Settings->value("MaxResults").toInt());
|
||||
|
||||
} else {
|
||||
// save settings
|
||||
|
||||
|
@ -252,6 +255,8 @@ void SearchDialog::processSettings(bool bLoad)
|
|||
|
||||
// state of splitter
|
||||
Settings->setValue("Splitter", ui.splitter->saveState());
|
||||
|
||||
Settings->setValue("MaxResults", ui._max_results_SB->value());
|
||||
}
|
||||
|
||||
Settings->endGroup();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue