[X2Go-Commits] [x2goclient] 280/281: src/mediawidget.cpp: add deprecation warning for ESounD.

git-admin at x2go.org git-admin at x2go.org
Thu Jan 19 13:06: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 f8e9390ad9ed8d4f1042f5d82040483763431044
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Dec 31 01:43:45 2016 +0100

    src/mediawidget.cpp: add deprecation warning for ESounD.
---
 debian/changelog    |    1 +
 src/mediawidget.cpp |    8 ++++++++
 2 files changed, 9 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 1244fe3..58d7fbf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -536,6 +536,7 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
     - src/mediawidget.cpp: unify some redundant code.
     - src/mediawidget.cpp: simplify expression.
     - src/mediawidget.cpp: add deprecation warning for ARTS.
+    - src/mediawidget.cpp: add deprecation warning for ESounD.
 
   [ Bernard Cafarelli ]
   * New upstream version (4.0.5.3):
diff --git a/src/mediawidget.cpp b/src/mediawidget.cpp
index 57f5b84..d5d1b37 100644
--- a/src/mediawidget.cpp
+++ b/src/mediawidget.cpp
@@ -169,6 +169,14 @@ void MediaWidget::slot_sndSysSelected ( int system )
 #elif defined (Q_OS_DARWIN)
         cbSndSshTun->setEnabled (true);
 #endif /* defined (Q_OS_WIN) */
+
+#if !defined (Q_OS_WIN) && !defined (Q_OS_DARWIN)
+        QMessageBox::warning (NULL, tr ("Deprecation Warning"),
+                              tr ("ESounD support is scheduled to be removed soon.\n\n"
+
+                                  "Please upgrade to PulseAudio."),
+                              QMessageBox::Ok, QMessageBox::NoButton);
+#endif
         sbSndPort->setValue ( 16001 );
         break;
     }

--
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