mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
FilesystemWidget: Pass path QString by const reference instead of by value in ExtractDirectory()
Makes it consistent with the surrounding API. Also corrects a typo in ExtractFile's parameter list.
This commit is contained in:
parent
fc531993a9
commit
aa42534fed
2 changed files with 4 additions and 3 deletions
|
@ -238,7 +238,7 @@ void FilesystemWidget::ExtractSystemData(const DiscIO::Partition& partition, con
|
|||
QMessageBox::critical(nullptr, tr("Error"), tr("Failed to extract system data."));
|
||||
}
|
||||
|
||||
void FilesystemWidget::ExtractDirectory(const DiscIO::Partition& partition, const QString path,
|
||||
void FilesystemWidget::ExtractDirectory(const DiscIO::Partition& partition, const QString& path,
|
||||
const QString& out)
|
||||
{
|
||||
const DiscIO::FileSystem* filesystem = m_volume->GetFileSystem(partition);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue