mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-13 11:32:48 -04:00
added storing and loading Chat Font
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2903 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
bed286030e
commit
47de2af50c
5 changed files with 98 additions and 19 deletions
|
@ -168,7 +168,8 @@ PeersDialog::PeersDialog(QWidget *parent)
|
|||
pxm.fill(_currentColor);
|
||||
ui.colorChatButton->setIcon(pxm);
|
||||
|
||||
mCurrentFont = QFont("Comic Sans MS", 11);
|
||||
RshareSettings settings;
|
||||
mCurrentFont.fromString(settings.value(QString::fromUtf8("ChatScreenFont")).toString());
|
||||
ui.lineEdit->setFont(mCurrentFont);
|
||||
|
||||
setChatInfo(tr("Welcome to RetroShare's group chat."),
|
||||
|
@ -176,7 +177,6 @@ PeersDialog::PeersDialog(QWidget *parent)
|
|||
|
||||
QStringList him;
|
||||
|
||||
RshareSettings settings;
|
||||
if (settings.value(QString::fromUtf8("GroupChat_History"), true).toBool())
|
||||
{
|
||||
historyKeeper.getMessages(him, "", "THIS", 8);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue