[X2Go-Commits] [x2goclient] 278/281: src/mediawidget.cpp: simplify expression.

git-admin at x2go.org git-admin at x2go.org
Thu Jan 19 13:06:26 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 0915f76cca1d89f8b852514b9b772b2fbc98c12d
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 5621c1d..af6c534 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -534,6 +534,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