[vlc-commits] Qt: profile_selector: missing test
Francois Cartegnie
git at videolan.org
Mon Sep 17 21:14:43 CEST 2012
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Sep 17 21:12:12 2012 +0200| [a1e5d5996e3303c09a695678cff397ed7ca6b59e] | committer: Francois Cartegnie
Qt: profile_selector: missing test
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a1e5d5996e3303c09a695678cff397ed7ca6b59e
---
modules/gui/qt4/components/sout/profile_selector.cpp | 2 +-
modules/gui/qt4/pixmaps/valid.png | Bin 0 -> 593 bytes
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt4/components/sout/profile_selector.cpp b/modules/gui/qt4/components/sout/profile_selector.cpp
index 226a87b..94c1dbc 100644
--- a/modules/gui/qt4/components/sout/profile_selector.cpp
+++ b/modules/gui/qt4/components/sout/profile_selector.cpp
@@ -382,7 +382,7 @@ void VLCProfileEditor::muxSelected()
SETYESNOSTATE( capstream, "capstream" );
SETYESNOSTATE( capchaps, "capchaps" );
bool b = caps["muxers"].contains( "mux_" + current->property("sout").toString() );
- ui.muxerwarning->setText(
+ if ( b ) ui.muxerwarning->setText(
QString( "<img src=\":/menu/info\"/> %1" )
.arg( qtr( "This muxer is not provided directly by VLC: It could be missing." ) )
);
diff --git a/modules/gui/qt4/pixmaps/valid.png b/modules/gui/qt4/pixmaps/valid.png
new file mode 100644
index 0000000..11844c9
Binary files /dev/null and b/modules/gui/qt4/pixmaps/valid.png differ
More information about the vlc-commits
mailing list