added to store the listSplitter state to settings

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3168 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-06-19 17:46:19 +00:00
parent 350f6e0365
commit 76c6989164
2 changed files with 3 additions and 1 deletions

View File

@ -422,6 +422,7 @@ void MessagesDialog::processSettings(bool bLoad)
// state of splitter
ui.msgSplitter->restoreState(Settings->value("Splitter").toByteArray());
ui.msgSplitter_2->restoreState(Settings->value("Splitter2").toByteArray());
ui.listSplitter->restoreState(Settings->value("Splitter3").toByteArray());
} else {
// save settings
@ -434,6 +435,7 @@ void MessagesDialog::processSettings(bool bLoad)
// state of splitter
Settings->setValue("Splitter", ui.msgSplitter->saveState());
Settings->setValue("Splitter2", ui.msgSplitter_2->saveState());
Settings->setValue("Splitter3", ui.listSplitter->saveState());
}
Settings->endGroup();

View File

@ -1008,7 +1008,7 @@ border-image: url(:/images/closepressed.png)
<number>0</number>
</property>
<item row="0" column="0">
<widget class="QSplitter" name="splitter">
<widget class="QSplitter" name="listSplitter">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>