mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-24 23:19:29 -05:00
store splitter position
This commit is contained in:
parent
fe591c2bd7
commit
dc61167733
@ -523,6 +523,8 @@ void GxsChannelPostsWidgetWithModel::processSettings(bool load)
|
||||
/* View mode */
|
||||
//setViewMode(Settings->value("viewMode", VIEW_MODE_FEEDS).toInt());
|
||||
#endif
|
||||
// state of splitter
|
||||
ui->splitter->restoreState(Settings->value("SplitterChannelPosts").toByteArray());
|
||||
} else {
|
||||
#ifdef TO_REMOVE
|
||||
// save settings
|
||||
@ -533,6 +535,8 @@ void GxsChannelPostsWidgetWithModel::processSettings(bool load)
|
||||
/* View mode */
|
||||
//Settings->setValue("viewMode", viewMode());
|
||||
#endif
|
||||
// state of splitter
|
||||
Settings->setValue("SplitterChannelPosts", ui->splitter->saveState());
|
||||
}
|
||||
|
||||
Settings->endGroup();
|
||||
|
Loading…
Reference in New Issue
Block a user