forked from pool/virtualbox
99fd246c75
Version bump to 7.0.12. Several CVE vulnerabilities fixed. OBS-URL: https://build.opensuse.org/request/show/1118617 OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=712
26 lines
1.3 KiB
Diff
26 lines
1.3 KiB
Diff
Index: VirtualBox-7.0.12/src/VBox/Frontends/VirtualBox/src/settings/editors/UINameAndSystemEditor.cpp
|
|
===================================================================
|
|
--- VirtualBox-7.0.12.orig/src/VBox/Frontends/VirtualBox/src/settings/editors/UINameAndSystemEditor.cpp
|
|
+++ VirtualBox-7.0.12/src/VBox/Frontends/VirtualBox/src/settings/editors/UINameAndSystemEditor.cpp
|
|
@@ -397,15 +397,15 @@ void UINameAndSystemEditor::sltFamilyCha
|
|
if (iIndexWin10 != -1)
|
|
m_pComboType->setCurrentIndex(iIndexWin10);
|
|
}
|
|
- /* Or select Oracle Linux item for Linux family as default: */
|
|
+ /* Or select openSUSE item for Linux family as default: */
|
|
else if (m_strFamilyId == "Linux")
|
|
{
|
|
- QString strDefaultID = "Oracle";
|
|
+ QString strDefaultID = "openSUSE";
|
|
if (ARCH_BITS == 64)
|
|
strDefaultID += "_64";
|
|
- const int iIndexUbuntu = m_pComboType->findData(strDefaultID, TypeID);
|
|
- if (iIndexUbuntu != -1)
|
|
- m_pComboType->setCurrentIndex(iIndexUbuntu);
|
|
+ const int iIndexOpenSUSE = m_pComboType->findData(strDefaultID, TypeID);
|
|
+ if (iIndexOpenSUSE != -1)
|
|
+ m_pComboType->setCurrentIndex(iIndexOpenSUSE);
|
|
}
|
|
/* Else simply select the first one present: */
|
|
else
|