diff --git a/retroshare-gui/src/gui/settings/ChatPage.cpp b/retroshare-gui/src/gui/settings/ChatPage.cpp index 26cc9292e..1c7447d46 100644 --- a/retroshare-gui/src/gui/settings/ChatPage.cpp +++ b/retroshare-gui/src/gui/settings/ChatPage.cpp @@ -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); }