removed sectionGroup for Chat settings

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2939 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-05-18 10:48:21 +00:00
parent e981dffc8c
commit 3e968b68c3

View File

@ -57,15 +57,12 @@ bool
ChatPage::save(QString &errmsg)
{
RshareSettings settings;
settings.beginGroup("Chat");
settings.setValue(QString::fromUtf8("Emoteicons_PrivatChat"), emotePrivatChat());
settings.setValue(QString::fromUtf8("Emoteicons_GroupChat"), emoteGroupChat());
settings.setValue(QString::fromUtf8("GroupChat_History"), groupchatHistory());
settings.setValue(QString::fromUtf8("ChatScreenFont"), fontTempChat.toString());
settings.endGroup();
return true;
}
@ -74,7 +71,6 @@ void
ChatPage::load()
{
RshareSettings settings;
settings.beginGroup("Chat");
ui.checkBox_emoteprivchat->setChecked(settings.value(QString::fromUtf8("Emoteicons_PrivatChat"), true).toBool());
ui.checkBox_emotegroupchat->setChecked(settings.value(QString::fromUtf8("Emoteicons_GroupChat"), true).toBool());
@ -82,8 +78,6 @@ ChatPage::load()
fontTempChat.fromString(settings.value(QString::fromUtf8("ChatScreenFont")).toString());
settings.endGroup();
ui.labelChatFontPreview->setText(fontTempChat.rawName());
ui.labelChatFontPreview->setFont(fontTempChat);
}