2024-01-29 23:31:23 +01:00
|
|
|
Index: VirtualBox-7.0.14/src/VBox/Frontends/VirtualBox/src/settings/editors/UINameAndSystemEditor.cpp
|
2016-07-26 18:15:55 +02:00
|
|
|
===================================================================
|
2024-01-29 23:31:23 +01:00
|
|
|
--- VirtualBox-7.0.14.orig/src/VBox/Frontends/VirtualBox/src/settings/editors/UINameAndSystemEditor.cpp
|
|
|
|
+++ VirtualBox-7.0.14/src/VBox/Frontends/VirtualBox/src/settings/editors/UINameAndSystemEditor.cpp
|
2022-11-18 22:49:33 +01:00
|
|
|
@@ -397,15 +397,15 @@ void UINameAndSystemEditor::sltFamilyCha
|
|
|
|
if (iIndexWin10 != -1)
|
|
|
|
m_pComboType->setCurrentIndex(iIndexWin10);
|
2010-12-23 11:08:49 +01:00
|
|
|
}
|
2019-01-28 21:37:13 +01:00
|
|
|
- /* Or select Oracle Linux item for Linux family as default: */
|
2014-03-04 12:09:44 +01:00
|
|
|
+ /* Or select openSUSE item for Linux family as default: */
|
2019-01-28 21:37:13 +01:00
|
|
|
else if (m_strFamilyId == "Linux")
|
2010-12-23 11:08:49 +01:00
|
|
|
{
|
2019-01-28 21:37:13 +01:00
|
|
|
- QString strDefaultID = "Oracle";
|
2014-03-04 12:09:44 +01:00
|
|
|
+ QString strDefaultID = "openSUSE";
|
2022-11-18 22:49:33 +01:00
|
|
|
if (ARCH_BITS == 64)
|
2014-03-04 12:09:44 +01:00
|
|
|
strDefaultID += "_64";
|
2016-07-26 18:15:55 +02:00
|
|
|
- const int iIndexUbuntu = m_pComboType->findData(strDefaultID, TypeID);
|
2014-03-04 12:09:44 +01:00
|
|
|
- if (iIndexUbuntu != -1)
|
2016-07-26 18:15:55 +02:00
|
|
|
- m_pComboType->setCurrentIndex(iIndexUbuntu);
|
|
|
|
+ const int iIndexOpenSUSE = m_pComboType->findData(strDefaultID, TypeID);
|
|
|
|
+ if (iIndexOpenSUSE != -1)
|
|
|
|
+ m_pComboType->setCurrentIndex(iIndexOpenSUSE);
|
2010-12-23 11:08:49 +01:00
|
|
|
}
|
2012-10-02 16:03:09 +02:00
|
|
|
/* Else simply select the first one present: */
|
2016-07-26 18:15:55 +02:00
|
|
|
else
|