mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-29 01:16:20 -05:00
merged before commit
This commit is contained in:
commit
01839193a6
@ -320,11 +320,20 @@ void ChatLobbyDialog::processSettings(bool load)
|
|||||||
|
|
||||||
// state of splitter
|
// state of splitter
|
||||||
ui.splitter->restoreState(Settings->value("splitter").toByteArray());
|
ui.splitter->restoreState(Settings->value("splitter").toByteArray());
|
||||||
|
|
||||||
|
// load sorting
|
||||||
|
actionSortByActivity->setChecked(Settings->value("sortbyActivity", QVariant(false)).toBool());
|
||||||
|
actionSortByName->setChecked(Settings->value("sortbyName", QVariant(true)).toBool());
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
// save settings
|
// save settings
|
||||||
|
|
||||||
// state of splitter
|
// state of splitter
|
||||||
Settings->setValue("splitter", ui.splitter->saveState());
|
Settings->setValue("splitter", ui.splitter->saveState());
|
||||||
|
|
||||||
|
//save sorting
|
||||||
|
Settings->setValue("sortbyActivity", actionSortByActivity->isChecked());
|
||||||
|
Settings->setValue("sortbyName", actionSortByName->isChecked());
|
||||||
}
|
}
|
||||||
|
|
||||||
Settings->endGroup();
|
Settings->endGroup();
|
||||||
|
Loading…
Reference in New Issue
Block a user