mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-10 03:49:51 -05:00
parent
2cc0f6dcd7
commit
eefc8d3393
@ -1237,9 +1237,17 @@ void MessagesDialog::insertMessages()
|
|||||||
else if(it->msgflags & RS_MSG_DISTANT)
|
else if(it->msgflags & RS_MSG_DISTANT)
|
||||||
{
|
{
|
||||||
item->setIcon(COLUMN_SIGNATURE, QIcon(":/images/blue_lock_open.png")) ;
|
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")) ;
|
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)
|
if(it->msgflags & RS_MSG_SIGNED)
|
||||||
{
|
{
|
||||||
if(it->msgflags & RS_MSG_SIGNATURE_CHECKS)
|
if(it->msgflags & RS_MSG_SIGNATURE_CHECKS)
|
||||||
|
@ -244,6 +244,9 @@ void SearchDialog::processSettings(bool bLoad)
|
|||||||
|
|
||||||
// state of splitter
|
// state of splitter
|
||||||
ui.splitter->restoreState(Settings->value("Splitter").toByteArray());
|
ui.splitter->restoreState(Settings->value("Splitter").toByteArray());
|
||||||
|
|
||||||
|
ui._max_results_SB->setValue(Settings->value("MaxResults").toInt());
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
// save settings
|
// save settings
|
||||||
|
|
||||||
@ -252,6 +255,8 @@ void SearchDialog::processSettings(bool bLoad)
|
|||||||
|
|
||||||
// state of splitter
|
// state of splitter
|
||||||
Settings->setValue("Splitter", ui.splitter->saveState());
|
Settings->setValue("Splitter", ui.splitter->saveState());
|
||||||
|
|
||||||
|
Settings->setValue("MaxResults", ui._max_results_SB->value());
|
||||||
}
|
}
|
||||||
|
|
||||||
Settings->endGroup();
|
Settings->endGroup();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user