diff options
author | GiWoong Kim <giwoong.kim@samsung.com> | 2015-11-10 16:45:30 +0900 |
---|---|---|
committer | SeokYeon Hwang <syeon.hwang@samsung.com> | 2015-11-10 21:49:06 +0900 |
commit | 7aafbd24cca1d5b83677ac467f82fbc370577533 (patch) | |
tree | 86d96e70bc7f46cb8643a073b1f004c6768ed4c5 | |
parent | b492cbfce5f19fd664e729a3941b1e47c367295e (diff) | |
download | qemu-7aafbd24cca1d5b83677ac467f82fbc370577533.tar.gz qemu-7aafbd24cca1d5b83677ac467f82fbc370577533.tar.bz2 qemu-7aafbd24cca1d5b83677ac467f82fbc370577533.zip |
menu: improve CPU architecture information on Detailed Info
- guest 32bit CPU: "x86 (32bit)"
- guest 64bit CPU: "x86 (64bit)"
Change-Id: I73d233c534e1e2d89e56b0c01f33996aa832eea7
Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
-rw-r--r-- | tizen/src/ui/menu/detailedinfodialog.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tizen/src/ui/menu/detailedinfodialog.cpp b/tizen/src/ui/menu/detailedinfodialog.cpp index 4a68db279d..07641e9bae 100644 --- a/tizen/src/ui/menu/detailedinfodialog.cpp +++ b/tizen/src/ui/menu/detailedinfodialog.cpp @@ -27,6 +27,8 @@ * */ +#include "config-target.h" + #include "detailedinfodialog.h" #include "resource/ui_strings.h" #include "mainwindow.h" @@ -123,7 +125,11 @@ QTableWidget *DetailedInfoDialog::createVmInfoTable() insertTableRow(vmInfo, QString(DETAILED_INFO_SKIN_NAME), win->getUiInfo()->getSkinName()); - insertTableRow(vmInfo, QString(DETAILED_INFO_CPU), "x86"); +#ifdef TARGET_X86_64 + insertTableRow(vmInfo, QString(DETAILED_INFO_CPU), "x86 (64bit)"); +#else + insertTableRow(vmInfo, QString(DETAILED_INFO_CPU), "x86 (32bit)"); +#endif insertTableRow(vmInfo, QString(DETAILED_INFO_RAM_SIZE), QString::number(get_ram_size() >> 20) + " MiB"); |