summaryrefslogtreecommitdiff
path: root/tizen
diff options
context:
space:
mode:
authorGiWoong Kim <giwoong.kim@samsung.com>2015-11-27 16:35:38 +0900
committerGiWoong Kim <giwoong.kim@samsung.com>2015-11-30 10:46:50 +0900
commitf396d6f9ec3b899fca8d4056b72c7257c8c7d551 (patch)
treecbd6ead733af5fff5424cf4190f607f4457fa159 /tizen
parentebd8324322be5128ffaa194b21fd691a5819a49a (diff)
downloadqemu-f396d6f9ec3b899fca8d4056b72c7257c8c7d551.tar.gz
qemu-f396d6f9ec3b899fca8d4056b72c7257c8c7d551.tar.bz2
qemu-f396d6f9ec3b899fca8d4056b72c7257c8c7d551.zip
menu: reduce the entry of VM Info from Detailed Info dialog
combine Display Resolution item with Display Density item ex) Display: 480x800 (233 ppi) Change-Id: If96b01408040f7d5ff18b78b123bcdd8fcbe1d8e Signed-off-by: GiWoong Kim <giwoong.kim@samsung.com>
Diffstat (limited to 'tizen')
-rw-r--r--tizen/src/ui/menu/detailedinfodialog.cpp8
-rw-r--r--tizen/src/ui/resource/ui_strings.h3
2 files changed, 4 insertions, 7 deletions
diff --git a/tizen/src/ui/menu/detailedinfodialog.cpp b/tizen/src/ui/menu/detailedinfodialog.cpp
index c7be28adf6..41d57bb810 100644
--- a/tizen/src/ui/menu/detailedinfodialog.cpp
+++ b/tizen/src/ui/menu/detailedinfodialog.cpp
@@ -134,12 +134,10 @@ QTableWidget *DetailedInfoDialog::createVmInfoTable()
insertTableRow(vmInfo, QString(DETAILED_INFO_RAM_SIZE),
QString::number(get_ram_size() >> 20) + " MiB");
- insertTableRow(vmInfo, QString(DETAILED_INFO_DPY_RESOLUTION),
+ insertTableRow(vmInfo, QString(DETAILED_INFO_DISPLAY),
QString::number(win->getUiInfo()->getResolution().width()) + "x" +
- QString::number(win->getUiInfo()->getResolution().height()));
-
- insertTableRow(vmInfo, QString(DETAILED_INFO_DPY_DENSITY),
- QString::number(get_display_pixel_density()));
+ QString::number(win->getUiInfo()->getResolution().height()) + " (" +
+ QString::number(get_display_pixel_density()) + " ppi)");
QString sharingPath(QString::fromLocal8Bit(
get_host_directory_sharing_path()));
diff --git a/tizen/src/ui/resource/ui_strings.h b/tizen/src/ui/resource/ui_strings.h
index abe7f14459..fde5c69fce 100644
--- a/tizen/src/ui/resource/ui_strings.h
+++ b/tizen/src/ui/resource/ui_strings.h
@@ -100,8 +100,7 @@
#define DETAILED_INFO_SKIN_NAME "Skin Name"
#define DETAILED_INFO_CPU "CPU Arch"
#define DETAILED_INFO_RAM_SIZE "Ram Size"
-#define DETAILED_INFO_DPY_RESOLUTION "Display Resolution"
-#define DETAILED_INFO_DPY_DENSITY "Display Density"
+#define DETAILED_INFO_DISPLAY "Display"
#define DETAILED_INFO_HDS_PATH "Directory Sharing"
#define DETAILED_INFO_CPU_VT "CPU Virtualization"
#define DETAILED_INFO_GPU_VT "GPU Virtualization"