open excel files with umlauts on win works now

This commit is contained in:
Martin Brodbeck 2018-08-09 12:52:15 +02:00
parent 27edf6b6ea
commit a04e8ad837
2 changed files with 10 additions and 4 deletions

View file

@ -378,7 +378,7 @@ void MainWindow::onImportSellerExcelActionTriggered()
if (filename.isEmpty())
return;
std::filesystem::path filePath(filename.toStdU16String());
std::filesystem::path filePath(filename.toStdWString());
ExcelReader::readSellersFromFile(filePath, marketplace_.get());
}