[X2Go-Commits] [x2goclient] 02/04: src/mediawidget.cpp: simplify expression.
git-admin at x2go.org
git-admin at x2go.org
Sat Dec 31 01:45:47 CET 2016
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch bugfix/osx
in repository x2goclient.
commit 4f5a879c76a9ad1af2ebdde6df4589c6a8501f56
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sat Dec 31 01:41:02 2016 +0100
src/mediawidget.cpp: simplify expression.
---
debian/changelog | 1 +
src/mediawidget.cpp | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 2196271..79a6882 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -513,6 +513,7 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
non-Darwin, so that not only Linux but other operating systems are
covered as well.
- src/mediawidget.cpp: unify some redundant code.
+ - src/mediawidget.cpp: simplify expression.
[ Bernard Cafarelli ]
* New upstream version (4.0.5.3):
diff --git a/src/mediawidget.cpp b/src/mediawidget.cpp
index 16d837a..15971d6 100644
--- a/src/mediawidget.cpp
+++ b/src/mediawidget.cpp
@@ -210,7 +210,7 @@ void MediaWidget::slot_sndStartClicked()
{
lSndPort->setEnabled ( true );
sbSndPort->setEnabled ( true );
- cbDefSndPort->setEnabled ( true &&sound->isChecked());
+ cbDefSndPort->setEnabled (sound->isChecked());
}
else
{
--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git
More information about the x2go-commits
mailing list