Changed "Mute" button to actually send mute command
authorTorste Aikio <zokier@zokier.laptop>
Mon, 24 May 2010 06:55:15 +0000 (09:55 +0300)
committerTorste Aikio <zokier@zokier.laptop>
Mon, 24 May 2010 06:55:15 +0000 (09:55 +0300)
src/mainwidget.cpp

index 77a2de4..a3d8151 100644 (file)
@@ -35,7 +35,7 @@ MainWidget::MainWidget (QWidget *parent)
     connect(buttons[2], SIGNAL(clicked(bool)), &irCtrl, SLOT(sendCmd2(bool)));
     connect(buttons[3], SIGNAL(clicked(bool)), &irCtrl, SLOT(sendCmd3(bool)));
     connect(buttons[4], SIGNAL(clicked(bool)), &irCtrl, SLOT(sendCmd4(bool)));
-    connect(buttons[5], SIGNAL(clicked()), this, SLOT(showSettingsDialog()));
+    connect(buttons[5], SIGNAL(clicked(bool)), &irCtrl, SLOT(sendCmd5(bool)));
 
     this->setContentsMargins(0, 0, 0, 0);
     layout->setContentsMargins(0, 0, 0, 0);