mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-27 07:47:03 -05:00
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:
parent
350f6e0365
commit
76c6989164
@ -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();
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user