Fix umlaut-crash on linux machines
This commit is contained in:
parent
e48fbe82e0
commit
92ecc92bf7
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue