[X2Go-Commits] [x2goclient] 278/280: src/mediawidget.cpp: simplify expression.
git-admin at x2go.org
git-admin at x2go.org
Wed Jan 18 12:26:27 CET 2017
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch bugfix/osx
in repository x2goclient.
commit 8a5e3e5643b7002d703685005d1eeb02339376af
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 64067d4..7f4e8ed 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -533,6 +533,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