Fixed choose of the font in PopupChatDialog with the font dialog.

New class RsharePeerSettings and a global variable PeerSettings for read and write settings of a peer (gpg id).
Save font and color in PopupChatDialog.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3464 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-09-10 18:38:46 +00:00
parent 7c126f24ba
commit cbdb717e51
12 changed files with 279 additions and 35 deletions

View file

@ -64,7 +64,7 @@ void ChatStyle::styleChanged(int styleType)
}
}
bool ChatStyle::setStylePath(QString stylePath, QString styleVariant)
bool ChatStyle::setStylePath(const QString &stylePath, const QString &styleVariant)
{
m_styleType = TYPE_UNKNOWN;
@ -572,7 +572,7 @@ static QString getBaseDir()
return true;
}
/*static*/ bool ChatStyle::getAvailableVariants(QString stylePath, QStringList &variants)
/*static*/ bool ChatStyle::getAvailableVariants(const QString &stylePath, QStringList &variants)
{
variants.clear();