forked from qt-creator/qt-creator
Core: Use FilePath in some functions related to opening files
Change-Id: I9610855a914d315d7934996c755fb69ad399320f Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -804,14 +804,14 @@ void ICore::registerWindow(QWidget *window, const Context &context)
|
||||
}
|
||||
|
||||
/*!
|
||||
Opens files using \a arguments and \a flags like it would be
|
||||
Opens files using \a filePaths and \a flags like it would be
|
||||
done if they were given to \QC on the command line, or
|
||||
they were opened via \uicontrol File > \uicontrol Open.
|
||||
*/
|
||||
|
||||
void ICore::openFiles(const QStringList &arguments, ICore::OpenFilesFlags flags)
|
||||
void ICore::openFiles(const FilePaths &filePaths, ICore::OpenFilesFlags flags)
|
||||
{
|
||||
MainWindow::openFiles(arguments, flags);
|
||||
MainWindow::openFiles(filePaths, flags);
|
||||
}
|
||||
|
||||
/*!
|
||||
|
||||
Reference in New Issue
Block a user