mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-26 07:55:44 -04:00
add chatlobby splitter position saving
This commit is contained in:
parent
53186ee3ce
commit
03b5fb663e
1 changed files with 2 additions and 2 deletions
|
@ -1171,7 +1171,7 @@ void ChatLobbyWidget::processSettings(bool bLoad)
|
||||||
|
|
||||||
if (bLoad) {
|
if (bLoad) {
|
||||||
// load settings
|
// load settings
|
||||||
|
ui.splitter->restoreState(Settings->value("splitter").toByteArray());
|
||||||
// state of the lists
|
// state of the lists
|
||||||
Header->restoreState(Settings->value("lobbyList").toByteArray());
|
Header->restoreState(Settings->value("lobbyList").toByteArray());
|
||||||
|
|
||||||
|
@ -1180,7 +1180,7 @@ void ChatLobbyWidget::processSettings(bool bLoad)
|
||||||
setShowSubscribeColumn(Settings->value("showSubscribeColumn", !ui.lobbyTreeWidget->isColumnHidden(COLUMN_SUBSCRIBED)).toBool());
|
setShowSubscribeColumn(Settings->value("showSubscribeColumn", !ui.lobbyTreeWidget->isColumnHidden(COLUMN_SUBSCRIBED)).toBool());
|
||||||
} else {
|
} else {
|
||||||
// save settings
|
// save settings
|
||||||
|
Settings->setValue("splitter", ui.splitter->saveState());
|
||||||
// state of the lists
|
// state of the lists
|
||||||
Settings->setValue("lobbyList", Header->saveState());
|
Settings->setValue("lobbyList", Header->saveState());
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue