mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07: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
@ -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);
|
||||
|
@ -36,8 +36,9 @@ private:
|
||||
void ShowContextMenu(const QPoint&);
|
||||
|
||||
void ExtractPartition(const DiscIO::Partition& partition, const QString& out);
|
||||
void ExtractDirectory(const DiscIO::Partition& partition, const QString path, const QString& out);
|
||||
void ExtractFile(const DiscIO::Partition& pratition, const QString& path, const QString& out);
|
||||
void ExtractDirectory(const DiscIO::Partition& partition, const QString& path,
|
||||
const QString& out);
|
||||
void ExtractFile(const DiscIO::Partition& partition, const QString& path, const QString& out);
|
||||
void ExtractSystemData(const DiscIO::Partition& partition, const QString& out);
|
||||
void CheckIntegrity(const DiscIO::Partition& partition);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user