summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainwindow.cc b/src/mainwindow.cc
index 9ea5285..279fab6 100644
--- a/src/mainwindow.cc
+++ b/src/mainwindow.cc
@@ -255,7 +255,7 @@ void MainWindow::createGui()
g1->addWidget(btn_freeze, 3, 2);
btn_mute = createButton("");
- btn_mute->setPixmap(*img_mute);
+ btn_mute->setPixmap(*img_unmute);
QObject::connect( btn_mute, SIGNAL(clicked()), this, SLOT(mute_clicked()) );
g1->addWidget(btn_mute, 3, 3);
@@ -557,8 +557,8 @@ void MainWindow::freeze_clicked()
void MainWindow::mute_clicked()
{
muted = !muted;
- if(muted) btn_mute->setPixmap(*img_unmute);
- else btn_mute->setPixmap(*img_mute);
+ if(muted) btn_mute->setPixmap(*img_mute);
+ else btn_mute->setPixmap(*img_unmute);
camera->setMute(muted);
}