]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/sout/profile_selector.cpp
Use _WIN32 rather than WIN32 (same for WIN64)
[vlc] / modules / gui / qt4 / components / sout / profile_selector.cpp
index 88ce767e2b435f55ec414aa680d8d398f89fcccb..5f5756decc3a96359037d6694ccfc6007e4212d6 100644 (file)
@@ -83,7 +83,7 @@ VLCProfileSelector::VLCProfileSelector( QWidget *_parent ): QWidget( _parent )
 inline void VLCProfileSelector::fillProfilesCombo()
 {
     QSettings settings(
-#ifdef WIN32
+#ifdef _WIN32
             QSettings::IniFormat,
 #else
             QSettings::NativeFormat,
@@ -159,7 +159,7 @@ void VLCProfileSelector::deleteProfile()
 void VLCProfileSelector::saveProfiles()
 {
     QSettings settings(
-#ifdef WIN32
+#ifdef _WIN32
             QSettings::IniFormat,
 #else
             QSettings::NativeFormat,
@@ -251,7 +251,7 @@ void VLCProfileSelector::updateOptions( int i )
             if ( !value.isEmpty() )
             {
                 QStringList valuesList = QUrl::fromPercentEncoding( value.toAscii() ).split( ";" );
-                smrl.option( "vfilter", QString("{%1}").arg( valuesList.join( "," ) ) );
+                smrl.option( "vfilter", valuesList.join( ":" ) );
             }
 
             /*if ( codec is h264 )*/
@@ -317,7 +317,7 @@ void VLCProfileSelector::updateOptions( int i )
             if ( !value.isEmpty() )
             {
                 QStringList valuesList = QUrl::fromPercentEncoding( value.toAscii() ).split( ";" );
-                smrl.option( "afilter", QString("{%1}").arg( valuesList.join( "," ) ) );
+                smrl.option( "afilter", valuesList.join( ":" ) );
             }
 
         } else {