mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-26 15:28:28 -05:00
parent
2cc0f6dcd7
commit
eefc8d3393
@ -1237,8 +1237,16 @@ void MessagesDialog::insertMessages()
|
||||
else if(it->msgflags & RS_MSG_DISTANT)
|
||||
{
|
||||
item->setIcon(COLUMN_SIGNATURE, QIcon(":/images/blue_lock_open.png")) ;
|
||||
item->setToolTip(COLUMN_SIGNATURE, tr("This message comes from a distant person.")) ;
|
||||
item->setIcon(COLUMN_SUBJECT, QIcon(":/images/message-mail-read.png")) ;
|
||||
|
||||
if (msgbox == RS_MSG_INBOX )
|
||||
{
|
||||
item->setToolTip(COLUMN_SIGNATURE, tr("This message comes from a distant person.")) ;
|
||||
}
|
||||
else if (msgbox == RS_MSG_OUTBOX)
|
||||
{
|
||||
item->setToolTip(COLUMN_SIGNATURE, tr("This message goes to a distant person.")) ;
|
||||
}
|
||||
|
||||
if(it->msgflags & RS_MSG_SIGNED)
|
||||
{
|
||||
|
@ -244,6 +244,9 @@ void SearchDialog::processSettings(bool bLoad)
|
||||
|
||||
// state of splitter
|
||||
ui.splitter->restoreState(Settings->value("Splitter").toByteArray());
|
||||
|
||||
ui._max_results_SB->setValue(Settings->value("MaxResults").toInt());
|
||||
|
||||
} else {
|
||||
// save settings
|
||||
|
||||
@ -252,6 +255,8 @@ void SearchDialog::processSettings(bool bLoad)
|
||||
|
||||
// state of splitter
|
||||
Settings->setValue("Splitter", ui.splitter->saveState());
|
||||
|
||||
Settings->setValue("MaxResults", ui._max_results_SB->value());
|
||||
}
|
||||
|
||||
Settings->endGroup();
|
||||
|
Loading…
x
Reference in New Issue
Block a user