mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-05 11:34:50 -04:00
hide typing notification setting in chat options by default
This commit is contained in:
parent
9268fd5ff0
commit
58c296c69d
1 changed files with 8 additions and 1 deletions
|
@ -34,6 +34,7 @@
|
|||
#include "gui/chat/ChatDialog.h"
|
||||
#include "gui/notifyqt.h"
|
||||
#include "rsharesettings.h"
|
||||
#include <retroshare/rsconfig.h>
|
||||
|
||||
#include <retroshare/rshistory.h>
|
||||
#include <retroshare/rsmsgs.h>
|
||||
|
@ -243,6 +244,12 @@ ChatPage::load()
|
|||
ui.loadEmbeddedImages->setChecked(Settings->getChatLoadEmbeddedImages());
|
||||
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.cbSearch_CaseSensitively->setChecked(Settings->getChatSearchCaseSensitively());
|
||||
ui.cbSearch_WholeWords->setChecked(Settings->getChatSearchWholeWords());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue