From 7979d033c9bf56c04eddc2699e831605bb3e1868 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marta=20Marczykowska-G=C3=B3recka?= Date: Mon, 24 Aug 2020 19:23:24 +0200 Subject: [PATCH] Less intrusive max mem / init mem warning in VM Setting When maxmem is set to over 10x initmem, Settings will now show a warning label and not interfere with user-provided values. The only case in which they will interfere is maxmemSetting initial memory " - "to the minimum allowed value.")) + self.warn_too_much_mem_label.setVisible(True) def check_warn_dispvmnetvm(self): if not hasattr(self.vm, 'default_dispvm'): diff --git a/ui/settingsdlg.ui b/ui/settingsdlg.ui index 778e791..a296b06 100644 --- a/ui/settingsdlg.ui +++ b/ui/settingsdlg.ui @@ -465,19 +465,6 @@ border-width: 1px; 15 - - - - true - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - 1 - - - @@ -519,6 +506,19 @@ border-width: 1px; + + + + true + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + 1 + + + @@ -544,17 +544,7 @@ border-width: 1px; - - - - true - - - Include in memory balancing - - - - + @@ -609,6 +599,127 @@ border-width: 1px; + + + + true + + + Include in memory balancing + + + + + + + + + + + + 239 + 41 + 41 + + + + + + + 239 + 41 + 41 + + + + + + + 239 + 41 + 41 + + + + + + + + + 239 + 41 + 41 + + + + + + + 239 + 41 + 41 + + + + + + + 239 + 41 + 41 + + + + + + + + + 190 + 190 + 190 + + + + + + + 190 + 190 + 190 + + + + + + + 0 + 0 + 0 + + + + + + + + + 75 + true + true + + + + Linux qubes cannot utilize more than 10 times the initial memory. Setting maximum memory higher leads to unused RAM. + + + Qt::AlignJustify|Qt::AlignVCenter + + + true + + +