mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-01 10:56:15 -05:00
hide typing notification setting in chat options by default
This commit is contained in:
parent
9268fd5ff0
commit
58c296c69d
@ -34,6 +34,7 @@
|
|||||||
#include "gui/chat/ChatDialog.h"
|
#include "gui/chat/ChatDialog.h"
|
||||||
#include "gui/notifyqt.h"
|
#include "gui/notifyqt.h"
|
||||||
#include "rsharesettings.h"
|
#include "rsharesettings.h"
|
||||||
|
#include <retroshare/rsconfig.h>
|
||||||
|
|
||||||
#include <retroshare/rshistory.h>
|
#include <retroshare/rshistory.h>
|
||||||
#include <retroshare/rsmsgs.h>
|
#include <retroshare/rsmsgs.h>
|
||||||
@ -243,6 +244,12 @@ ChatPage::load()
|
|||||||
ui.loadEmbeddedImages->setChecked(Settings->getChatLoadEmbeddedImages());
|
ui.loadEmbeddedImages->setChecked(Settings->getChatLoadEmbeddedImages());
|
||||||
ui.DontSendTyping->setChecked(Settings->getChatDoNotSendIsTyping());
|
ui.DontSendTyping->setChecked(Settings->getChatDoNotSendIsTyping());
|
||||||
|
|
||||||
|
std::string advsetting;
|
||||||
|
if(rsConfig->getConfigurationOption(RS_CONFIG_ADVANCED, advsetting) && (advsetting == "YES"))
|
||||||
|
{ }
|
||||||
|
else
|
||||||
|
ui.DontSendTyping->hide();
|
||||||
|
|
||||||
ui.sbSearch_CharToStart->setValue(Settings->getChatSearchCharToStartSearch());
|
ui.sbSearch_CharToStart->setValue(Settings->getChatSearchCharToStartSearch());
|
||||||
ui.cbSearch_CaseSensitively->setChecked(Settings->getChatSearchCaseSensitively());
|
ui.cbSearch_CaseSensitively->setChecked(Settings->getChatSearchCaseSensitively());
|
||||||
ui.cbSearch_WholeWords->setChecked(Settings->getChatSearchWholeWords());
|
ui.cbSearch_WholeWords->setChecked(Settings->getChatSearchWholeWords());
|
||||||
|
Loading…
Reference in New Issue
Block a user