Merge branch 'master' of ssh://brodbeck-online.de:60022/martin/kima2-cpp

This commit is contained in:
Martin Brodbeck 2021-09-20 07:40:34 +02:00
commit d573aed916

View file

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