summary refs log tree commit diff
diff options
context:
space:
mode:
authorredsky17 <joedonofry@gmail.com>2019-01-24 04:54:35 +0000
committerredsky17 <joedonofry@gmail.com>2019-01-24 04:54:35 +0000
commitd70bc94f61d67ff619bcd15e25ac7dac678d2850 (patch)
treeabeda9e43092f765a2c7104e21d51cb69a00a356
parentAuthor Color Fixes (diff)
downloadnheko-d70bc94f61d67ff619bcd15e25ac7dac678d2850.tar.xz
Fix lambda capture error
-rw-r--r--src/MainWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp
index 450eb71a..51b23fe2 100644
--- a/src/MainWindow.cpp
+++ b/src/MainWindow.cpp
@@ -112,7 +112,7 @@ MainWindow::MainWindow(QWidget *parent)
 
         connect(
           userSettingsPage_, SIGNAL(trayOptionChanged(bool)), trayIcon_, SLOT(setVisible(bool)));
-        connect(userSettingsPage_, &UserSettingsPage::themeChanged, this, [this]() {
+        connect(userSettingsPage_, &UserSettingsPage::themeChanged, this, []() {
                 utils::clearAuthorColors();
         });
         connect(