Merge remote-tracking branch 'origin/pr/146'

* origin/pr/146:
  global_settings: Use MiB, not M as the unit
This commit is contained in:
Marek Marczykowski-Górecki 2019-01-21 22:59:17 +01:00
commit 5e9b33ebc1
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -182,8 +182,8 @@ class GlobalSettingsWindow(ui_globalsettingsdlg.Ui_GlobalSettings,
if current_min_vm_mem*1024*1024 != self.vm_min_mem_val \
or current_dom0_mem_boost*1024*1024 != self.dom0_mem_boost_val:
current_min_vm_mem = str(current_min_vm_mem)+'M'
current_dom0_mem_boost = str(current_dom0_mem_boost)+'M'
current_min_vm_mem = str(current_min_vm_mem)+'MiB'
current_dom0_mem_boost = str(current_dom0_mem_boost)+'MiB'
if not self.qmemman_config.has_section('global'):
#add the whole section