Fix lambda capture error

This commit is contained in:
redsky17 2019-01-24 04:54:35 +00:00
parent 237c7ad114
commit d70bc94f61

View file

@ -112,7 +112,7 @@ MainWindow::MainWindow(QWidget *parent)
connect( connect(
userSettingsPage_, SIGNAL(trayOptionChanged(bool)), trayIcon_, SLOT(setVisible(bool))); userSettingsPage_, SIGNAL(trayOptionChanged(bool)), trayIcon_, SLOT(setVisible(bool)));
connect(userSettingsPage_, &UserSettingsPage::themeChanged, this, [this]() { connect(userSettingsPage_, &UserSettingsPage::themeChanged, this, []() {
utils::clearAuthorColors(); utils::clearAuthorColors();
}); });
connect( connect(