[vlc-commits] Qt4: /dev/dvb/adapter is Linux DVB, not just Linux
Rémi Denis-Courmont
git at videolan.org
Sat Aug 11 22:24:33 CEST 2012
vlc/vlc-2.0 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Aug 11 23:23:36 2012 +0300| [a8377747ad6e87f1a491345c19177f6490c3b144] | committer: Rémi Denis-Courmont
Qt4: /dev/dvb/adapter is Linux DVB, not just Linux
This is also used on *BSD systems.
(cherry picked from commit 052974831b2b50682a37933c992d2606fe1845b3)
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=a8377747ad6e87f1a491345c19177f6490c3b144
---
modules/gui/qt4/components/open_panels.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt4/components/open_panels.cpp b/modules/gui/qt4/components/open_panels.cpp
index c828943..8dbbe74 100644
--- a/modules/gui/qt4/components/open_panels.cpp
+++ b/modules/gui/qt4/components/open_panels.cpp
@@ -925,7 +925,7 @@ void CaptureOpenPanel::initialize()
dvbCard = new QSpinBox;
dvbCard->setAlignment( Qt::AlignRight );
-#ifdef __linux__
+#ifdef __unix__
dvbCard->setPrefix( "/dev/dvb/adapter" );
#endif
dvbDevLayout->addWidget( dvbDeviceLabel, 0, 0 );
More information about the vlc-commits
mailing list