mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-18 02:47:12 -05:00
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:
parent
e981dffc8c
commit
3e968b68c3
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user