use path to save json file (sellers)

This commit is contained in:
Martin Brodbeck 2018-08-09 13:16:00 +02:00
parent 0967a01994
commit 0a1d946397
3 changed files with 6 additions and 4 deletions

View file

@ -412,7 +412,9 @@ void MainWindow::onExportSellerJsonActionTriggered()
if (filename.isEmpty())
return;
JsonUtil::exportSellers(filename.toStdString(), marketplace_.get());
std::filesystem::path filePath(filename.toStdWString());
JsonUtil::exportSellers(filePath, marketplace_.get());
}
void MainWindow::onExportSalesJsonActionTriggered()