mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-17 15:21:30 +02:00
Added option that hides notifications
Added option that hides status notifications.
This commit is contained in:
@@ -115,6 +115,12 @@ void Settings::setupPrivacyTab() {
|
||||
m_ctx->updateBalance();
|
||||
});
|
||||
|
||||
// [Hide notifications]
|
||||
ui->checkBox_hideNotifications->setChecked(config()->get(Config::hideNotifications).toBool());
|
||||
connect(ui->checkBox_hideNotifications, &QCheckBox::toggled, [this](bool toggled){
|
||||
config()->set(Config::hideNotifications, toggled);
|
||||
});
|
||||
|
||||
// [Disable websocket]
|
||||
ui->checkBox_enableWebsocket->setChecked(!config()->get(Config::disableWebsocket).toBool());
|
||||
connect(ui->checkBox_enableWebsocket, &QCheckBox::toggled, [this](bool checked){
|
||||
@@ -273,4 +279,4 @@ void Settings::closeEvent(QCloseEvent *event) {
|
||||
event->accept();
|
||||
}
|
||||
|
||||
Settings::~Settings() = default;
|
||||
Settings::~Settings() = default;
|
||||
|
||||
Reference in New Issue
Block a user