mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-12 16:09:37 -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 */
|
/* View mode */
|
||||||
//setViewMode(Settings->value("viewMode", VIEW_MODE_FEEDS).toInt());
|
//setViewMode(Settings->value("viewMode", VIEW_MODE_FEEDS).toInt());
|
||||||
#endif
|
#endif
|
||||||
|
// state of splitter
|
||||||
|
ui->splitter->restoreState(Settings->value("SplitterChannelPosts").toByteArray());
|
||||||
} else {
|
} else {
|
||||||
#ifdef TO_REMOVE
|
#ifdef TO_REMOVE
|
||||||
// save settings
|
// save settings
|
||||||
@ -533,6 +535,8 @@ void GxsChannelPostsWidgetWithModel::processSettings(bool load)
|
|||||||
/* View mode */
|
/* View mode */
|
||||||
//Settings->setValue("viewMode", viewMode());
|
//Settings->setValue("viewMode", viewMode());
|
||||||
#endif
|
#endif
|
||||||
|
// state of splitter
|
||||||
|
Settings->setValue("SplitterChannelPosts", ui->splitter->saveState());
|
||||||
}
|
}
|
||||||
|
|
||||||
Settings->endGroup();
|
Settings->endGroup();
|
||||||
|
Loading…
Reference in New Issue
Block a user