store splitter position

This commit is contained in:
defnax 2020-06-09 21:03:55 +02:00
parent fe591c2bd7
commit dc61167733

View File

@ -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();