Commit cf4fcdfe authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont
Browse files

Qt4: missing const

parent 606f9edb
......@@ -246,7 +246,7 @@ void ExtVideo::clean()
ui.cropRightPx->setValue( 0 );
}
void ExtVideo::ChangeVFiltersString( char *psz_name, bool b_add )
void ExtVideo::ChangeVFiltersString( const char *psz_name, bool b_add )
{
char *psz_parser, *psz_string;
const char *psz_filter_type;
......
......@@ -59,7 +59,7 @@ private:
vout_thread_t *p_vout;
void initComboBoxItems( QObject* );
void setWidgetValue( QObject* );
void ChangeVFiltersString( char *psz_name, bool b_add );
void ChangeVFiltersString( const char *psz_name, bool b_add );
void clean();
private slots:
void updateFilters();
......
......@@ -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 ) )
{
......
......@@ -620,7 +620,7 @@ void DialogsProvider::menuUpdateAction( QObject *data )
void DialogsProvider::SDMenuAction( QString data )
{
char *psz_sd = qtu( data );
const char *psz_sd = qtu( data );
if( !playlist_IsServicesDiscoveryLoaded( THEPL, psz_sd ) )
playlist_ServicesDiscoveryAdd( THEPL, psz_sd );
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment