From d70bc94f61d67ff619bcd15e25ac7dac678d2850 Mon Sep 17 00:00:00 2001 From: redsky17 Date: Thu, 24 Jan 2019 04:54:35 +0000 Subject: [PATCH] Fix lambda capture error --- src/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index 450eb71..51b23fe 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(