This commit is contained in:
Martin Brodbeck 2018-08-09 08:31:38 +02:00
parent e8db619e63
commit fe6b858f32
3 changed files with 10 additions and 48 deletions

View file

@ -376,8 +376,8 @@ void MainWindow::onImportSellerExcelActionTriggered()
if (filename.isEmpty())
return;
ExcelReader::readSellersFromFile(filename.toStdString(), marketplace_.get());
std::u16string fname16 = filename.toStdU16String();
ExcelReader::readSellersFromFile(convertFromUtf16ToUtf8(fname16), marketplace_.get());
}
void MainWindow::onImportSellerJsonActionTriggered()