diff --git a/src/widgets/Dashboard.cpp b/src/widgets/Dashboard.cpp index 7e7bf9c8..f0f3fe3f 100644 --- a/src/widgets/Dashboard.cpp +++ b/src/widgets/Dashboard.cpp @@ -38,13 +38,7 @@ void Dashboard::updateContents() QJsonObject item = docu.object()["core"].toObject(); QJsonObject item2 = docu.object()["bin"].toObject(); -#ifdef Q_OS_WIN - QString fname = item["file"].toString(); - fname = QString::fromUtf8(fname.toLatin1()); -#else // Q_OS_WIN - QString fname = item["file"].toString(); -#endif // Q_OS_WIN - this->ui->fileEdit->setText(fname); + this->ui->fileEdit->setText(item["file"].toString()); this->ui->formatEdit->setText(item["format"].toString()); this->ui->modeEdit->setText(item["mode"].toString()); this->ui->typeEdit->setText(item["type"].toString());