Fix umlaut-crash on linux machines

This commit is contained in:
Martin Brodbeck 2021-09-19 19:52:32 +02:00
parent e48fbe82e0
commit 92ecc92bf7
1 changed files with 4 additions and 0 deletions

View File

@ -48,7 +48,11 @@ void ReportDialog::onExportCsvButtonClicked()
if (filename.isEmpty())
return;
#if defined(_WIN64) || defined(_WIN32)
fs::path filePath(filename.toStdWString());
#else
fs::path filePath(filename.toStdString());
#endif
market_->exportReportToCSV(filePath, feeInPercent, maxFeeInEuro);
}