aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 50bb0b0..ac90ffe 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -148,6 +148,7 @@ void MainWindow::init_settingWidget()
connect(settingsWidget,SIGNAL(init_lock()),this,SLOT(init_lock()));
connect(settingsWidget,SIGNAL(updateWindowTheme()),this,SLOT(updateWindowTheme()));
connect(settingsWidget,SIGNAL(updatePageTheme()),this,SLOT(updatePageTheme()));
+
connect(settingsWidget,&SettingsWidget::muteToggled,[=](const bool checked)
{
this->toggleMute(checked);
@@ -415,6 +416,7 @@ void MainWindow::createTrayIcon()
connect(trayIcon, &QSystemTrayIcon::activated,
this, &MainWindow::iconActivated);
+
//enable show shortcuts in menu
if(qApp->styleHints()->showShortcutsInContextMenus())
{