From dfd0563278f9dcb5505f96b62588d738cf7336ed Mon Sep 17 00:00:00 2001 From: ArsenArsen Date: Tue, 16 May 2017 19:16:09 +0200 Subject: [PATCH] whoops --- mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index fdc5155..af2f0da 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -48,7 +48,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi menu->addActions({ fullscreen, area }); connect(quit, &QAction::triggered, this, &MainWindow::quit); connect(shtoggle, &QAction::triggered, this, &MainWindow::toggleVisible); - connect(shtoggle, &QAction::triggered, [] { ColorPickerScene::showPicker(); }); + connect(picker, &QAction::triggered, [] { ColorPickerScene::showPicker(); }); connect(tray, &QSystemTrayIcon::messageClicked, this, &MainWindow::toggleVisible); connect(tray, &QSystemTrayIcon::activated, this, [this](QSystemTrayIcon::ActivationReason reason) { if (reason == QSystemTrayIcon::DoubleClick) toggleVisible();