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

Qt4: missing const

parent 606f9edb
...@@ -246,7 +246,7 @@ void ExtVideo::clean() ...@@ -246,7 +246,7 @@ void ExtVideo::clean()
ui.cropRightPx->setValue( 0 ); 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; char *psz_parser, *psz_string;
const char *psz_filter_type; const char *psz_filter_type;
......
...@@ -59,7 +59,7 @@ private: ...@@ -59,7 +59,7 @@ private:
vout_thread_t *p_vout; vout_thread_t *p_vout;
void initComboBoxItems( QObject* ); void initComboBoxItems( QObject* );
void setWidgetValue( QObject* ); void setWidgetValue( QObject* );
void ChangeVFiltersString( char *psz_name, bool b_add ); void ChangeVFiltersString( const char *psz_name, bool b_add );
void clean(); void clean();
private slots: private slots:
void updateFilters(); void updateFilters();
......
...@@ -601,7 +601,7 @@ void SPrefsPanel::apply() ...@@ -601,7 +601,7 @@ void SPrefsPanel::apply()
case SPrefsInputAndCodecs: case SPrefsInputAndCodecs:
{ {
/* Device default selection */ /* Device default selection */
char *psz_devicepath = const char *psz_devicepath =
qtu( qobject_cast<QLineEdit *>(optionWidgets[inputLE] )->text() ); qtu( qobject_cast<QLineEdit *>(optionWidgets[inputLE] )->text() );
if( !EMPTY_STR( psz_devicepath ) ) if( !EMPTY_STR( psz_devicepath ) )
{ {
......
...@@ -620,7 +620,7 @@ void DialogsProvider::menuUpdateAction( QObject *data ) ...@@ -620,7 +620,7 @@ void DialogsProvider::menuUpdateAction( QObject *data )
void DialogsProvider::SDMenuAction( QString data ) void DialogsProvider::SDMenuAction( QString data )
{ {
char *psz_sd = qtu( data ); const char *psz_sd = qtu( data );
if( !playlist_IsServicesDiscoveryLoaded( THEPL, psz_sd ) ) if( !playlist_IsServicesDiscoveryLoaded( THEPL, psz_sd ) )
playlist_ServicesDiscoveryAdd( THEPL, psz_sd ); playlist_ServicesDiscoveryAdd( THEPL, psz_sd );
else 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