mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-02 15:45:58 +00:00
Merge pull request #6846 from spycrab/qt_native_sep
Qt: Use native dir separators
This commit is contained in:
commit
8f44423a5b
3 changed files with 16 additions and 13 deletions
|
@ -4,6 +4,7 @@
|
|||
|
||||
#include <QComboBox>
|
||||
#include <QCryptographicHash>
|
||||
#include <QDir>
|
||||
#include <QFileDialog>
|
||||
#include <QFormLayout>
|
||||
#include <QGroupBox>
|
||||
|
@ -36,7 +37,7 @@ QGroupBox* InfoWidget::CreateISODetails()
|
|||
|
||||
QLineEdit* file_path = CreateValueDisplay(
|
||||
QStringLiteral("%1 (%2)")
|
||||
.arg(QString::fromStdString(m_game.GetFilePath()))
|
||||
.arg(QDir::toNativeSeparators(QString::fromStdString(m_game.GetFilePath())))
|
||||
.arg(QString::fromStdString(UICommon::FormatSize(m_game.GetFileSize()))));
|
||||
QLineEdit* internal_name =
|
||||
CreateValueDisplay(tr("%1 (Disc %2, Revision %3)")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue