summary refs log tree commit diff
path: root/src/MainWindow.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-05-26 22:53:21 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2020-05-26 22:54:51 +0200
commit6b60ff77135c3717159f760e82f14841c50816aa (patch)
tree6364645cd0a1a708c64071e65e1906e80765b70a /src/MainWindow.cpp
parentMake settings update immediately in qml and allow limiting timeline width (diff)
downloadnheko-6b60ff77135c3717159f760e82f14841c50816aa.tar.xz
Rename settings to be more consistent
Diffstat (limited to '')
-rw-r--r--src/MainWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp

index c6abdca2..cc1d868b 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp
@@ -148,7 +148,7 @@ MainWindow::MainWindow(QWidget *parent) QSettings settings; - trayIcon_->setVisible(userSettings_->isTrayEnabled()); + trayIcon_->setVisible(userSettings_->tray()); if (hasActiveUser()) { QString token = settings.value("auth/access_token").toString(); @@ -286,7 +286,7 @@ void MainWindow::closeEvent(QCloseEvent *event) { if (!qApp->isSavingSession() && isVisible() && pageSupportsTray() && - userSettings_->isTrayEnabled()) { + userSettings_->tray()) { event->ignore(); hide(); }