diff --git a/src/Editor/CExportGameDialog.cpp b/src/Editor/CExportGameDialog.cpp index 26a89116..4086d44c 100644 --- a/src/Editor/CExportGameDialog.cpp +++ b/src/Editor/CExportGameDialog.cpp @@ -11,7 +11,7 @@ #include #include -#include +#include #include #include #include @@ -33,8 +33,8 @@ CExportGameDialog::CExportGameDialog(const QString& rkIsoPath, const QString& rk mpExporter = std::make_unique(mDiscType, mGame, mWiiFrontend, mRegion, mGameTitle, mGameID, mBuildVer); InitUI(rkExportDir); - TString IsoName = TO_TSTRING(rkIsoPath).GetFileName(); - setWindowTitle(tr("Export Settings - %1").arg(TO_QSTRING(IsoName))); + const auto IsoName = QFileInfo(rkIsoPath).fileName(); + setWindowTitle(tr("Export Settings - %1").arg(IsoName)); } else {