Commit 2f1adbff authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: rename helper for more clarity

parent c4d99d3b
...@@ -950,7 +950,7 @@ bool PLModel::action( QAction *action, const QModelIndexList &indexes ) ...@@ -950,7 +950,7 @@ bool PLModel::action( QAction *action, const QModelIndexList &indexes )
foreach( const QString &uri, a.uris ) foreach( const QString &uri, a.uris )
{ {
QStringList options = a.options.split( " :" ); QStringList options = a.options.split( " :" );
Open::openInput( p_intf, uri, &options, false ); Open::openMRLwithOptions( p_intf, uri, &options, false );
} }
return true; return true;
......
...@@ -381,7 +381,7 @@ void OpenDialog::enqueue( bool b_enqueue ) ...@@ -381,7 +381,7 @@ void OpenDialog::enqueue( bool b_enqueue )
QStringList optionsList = getOptions().split( " :" ); QStringList optionsList = getOptions().split( " :" );
/* Switch between enqueuing and starting the item */ /* Switch between enqueuing and starting the item */
Open::openInput( p_intf, itemsMRL[i], &optionsList, b_start, b_pl ); Open::openMRLwithOptions( p_intf, itemsMRL[i], &optionsList, b_start, b_pl );
} }
} }
......
...@@ -700,7 +700,7 @@ void DialogsProvider::streamingDialog( QWidget *parent, ...@@ -700,7 +700,7 @@ void DialogsProvider::streamingDialog( QWidget *parent,
{ {
options += soutoption.split( " :"); options += soutoption.split( " :");
Open::openInput( p_intf, mrl, &options, true, true, _("Streaming") ); Open::openMRLwithOptions( p_intf, mrl, &options, true, true, _("Streaming") );
} }
} }
......
...@@ -182,7 +182,7 @@ void Open::openMRL( intf_thread_t *p_intf, ...@@ -182,7 +182,7 @@ void Open::openMRL( intf_thread_t *p_intf,
RecentsMRL::getInstance( p_intf )->addRecent( mrl ); RecentsMRL::getInstance( p_intf )->addRecent( mrl );
} }
int Open::openInput( intf_thread_t* p_intf, int Open::openMRLwithOptions( intf_thread_t* p_intf,
const QString &mrl, const QString &mrl,
const QStringList *options, const QStringList *options,
bool b_start, bool b_start,
......
...@@ -43,7 +43,7 @@ public: ...@@ -43,7 +43,7 @@ public:
bool b_start = true, bool b_start = true,
bool b_playlist = true); bool b_playlist = true);
int static openInput( intf_thread_t*, int static openMRLwithOptions( intf_thread_t*,
const QString &, const QString &,
const QStringList *options, const QStringList *options,
bool b_start = true, bool b_start = true,
......
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