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

qt: remove unused parameter

parent 2d40d070
......@@ -111,7 +111,7 @@ DialogsProvider::~DialogsProvider()
delete miscPopupMenu;
}
QStringList DialogsProvider::getOpenURL( intf_thread_t* p_intf, QWidget *parent,
QStringList DialogsProvider::getOpenURL( QWidget *parent,
const QString &caption,
const QString &dir,
const QString &filter,
......@@ -395,9 +395,8 @@ void DialogsProvider::openFileGenericDialog( intf_dialog_args_t *p_arg )
}
else /* non-save mode */
{
QStringList urls = getOpenURL( p_intf, NULL,
qfu( p_arg->psz_title ), p_intf->p_sys->filepath,
extensions );
QStringList urls = getOpenURL( NULL, qfu( p_arg->psz_title ),
p_intf->p_sys->filepath, extensions );
p_arg->i_results = urls.count();
p_arg->psz_results = (char **)malloc( p_arg->i_results * sizeof( char * ) );
i = 0;
......@@ -494,7 +493,7 @@ QStringList DialogsProvider::showSimpleOpen( const QString& help,
ADD_EXT_FILTER( fileTypes, EXTENSIONS_ALL );
fileTypes.replace( ";*", " *");
QStringList urls = getOpenURL( p_intf, NULL,
QStringList urls = getOpenURL( NULL,
help.isEmpty() ? qtr(I_OP_SEL_FILES ) : help,
path.isEmpty() ? p_intf->p_sys->filepath : path,
fileTypes );
......
......@@ -91,7 +91,7 @@ public:
const QString& path = QString() );
bool isDying() { return b_isDying; }
static QString getDirectoryDialog( intf_thread_t *p_intf);
static QStringList getOpenURL(intf_thread_t* p_intf, QWidget *parent = NULL,
static QStringList getOpenURL(QWidget *parent = NULL,
const QString &caption = QString(),
const QString &dir = QString(),
const QString &filter = QString(),
......
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