insertTableRow(vmInfo, QString(DETAILED_INFO_DPY_DENSITY),
QString::number(get_display_pixel_density()));
- QString sharingPath(get_host_directory_sharing_path());
+ QString sharingPath(QString::fromLocal8Bit(
+ get_host_directory_sharing_path()));
insertTableRow(vmInfo, QString(DETAILED_INFO_HDS_PATH),
(sharingPath.isEmpty()) ? QString(GENERIC_TEXT_NONE) : sharingPath);
(is_gpu_accel_enabled()) ?
QString(GENERIC_TEXT_ENABLED) : QString(GENERIC_TEXT_DISABLED));
- QString drive_image_file(get_drive_image_file());
+ QString drive_image_file(
+ QString::fromLocal8Bit(get_drive_image_file()));
if (drive_image_file.isEmpty() == false) {
insertTableRow(vmInfo, QString(DETAILED_INFO_DRIVE_IMAGE_FILE),
drive_image_file, drive_image_file);
}
- QString swap_image_file(get_swap_image_file());
+ QString swap_image_file(QString::fromLocal8Bit(get_swap_image_file()));
if (swap_image_file.isEmpty() == false) {
insertTableRow(vmInfo, QString(DETAILED_INFO_SWAP_IMAGE_FILE),
swap_image_file, swap_image_file);
}
- QString log_redirect_file(get_log_redirect_file());
+ QString log_redirect_file(QString::fromLocal8Bit(get_log_redirect_file()));
if (log_redirect_file.isEmpty() == false) {
insertTableRow(vmInfo, QString(DETAILED_INFO_EMUL_LOG_FILE),
log_redirect_file, log_redirect_file);
}
- QString kernel_log_redirect_file(get_kernel_log_redirect_file());
+ QString kernel_log_redirect_file(
+ QString::fromLocal8Bit(get_kernel_log_redirect_file()));
if (kernel_log_redirect_file.isEmpty() == false) {
insertTableRow(vmInfo, QString(DETAILED_INFO_KERNEL_LOG_FILE),
kernel_log_redirect_file, kernel_log_redirect_file);
uiInfo->resolution.setHeight(get_display_resolution_height());
uiInfo->basePort = get_emul_vm_base_port();
- uiInfo->vmDataPath = QDir(get_vm_data_path()).canonicalPath();
+ uiInfo->vmDataPath = QDir(QString::fromLocal8Bit(get_vm_data_path())).canonicalPath();
if (uiInfo->vmDataPath.endsWith(QDir::separator()) == false) {
uiInfo->vmDataPath += QDir::separator();
}
qDebug() << "VM path:" << uiInfo->vmDataPath;
- uiInfo->skinPath = QDir(get_emul_skin_path()).canonicalPath();
+ uiInfo->skinPath = QDir(QString::fromLocal8Bit(get_emul_skin_path())).canonicalPath();
if (uiInfo->skinPath.endsWith(QDir::separator()) == false) {
uiInfo->skinPath += QDir::separator();
}