mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
- moved the chat setting to the section [Chat]
- cleaned some comments of the settings classes git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2940 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
3e968b68c3
commit
a8c4b3b107
7 changed files with 23 additions and 43 deletions
|
@ -291,7 +291,7 @@ void PopupChatDialog::addChatMsg(ChatInfo *ci)
|
|||
std::cout << "PopupChatDialog:addChatMsg message : " << message.toStdString() << std::endl;
|
||||
#endif
|
||||
|
||||
RshareSettings settings;
|
||||
RSettings settings(QString("Chat"));
|
||||
if (settings.value(QString::fromUtf8("Emoteicons_PrivatChat"), true).toBool())
|
||||
{
|
||||
QHashIterator<QString, QString> i(smileys);
|
||||
|
@ -301,8 +301,8 @@ std::cout << "PopupChatDialog:addChatMsg message : " << message.toStdString() <<
|
|||
foreach(QString code, i.key().split("|"))
|
||||
message.replace(code, "<img src=\"" + i.value() + "\" />");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
history /*<< nickColor << color << font << fontSize*/ << timestamp << name << message;
|
||||
|
||||
QString formatMsg = loadEmptyStyle()/*.replace(nickColor)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue