Qt4: missing const
[vlc.git] / modules / gui / qt4 / components / simple_preferences.cpp
index 8ba332e..4937dd7 100644 (file)
@@ -601,7 +601,7 @@ void SPrefsPanel::apply()
     case SPrefsInputAndCodecs:
     {
         /* Device default selection */
-        char *psz_devicepath =
+        const char *psz_devicepath =
               qtu( qobject_cast<QLineEdit *>(optionWidgets[inputLE] )->text() );
         if( !EMPTY_STR( psz_devicepath ) )
         {