2022-09-16 19:04:36 +02:00
|
|
|
Index: VirtualBox-6.1.38/src/VBox/Frontends/VirtualBox/src/widgets/UINameAndSystemEditor.cpp
|
2016-07-26 18:15:55 +02:00
|
|
|
===================================================================
|
2022-09-16 19:04:36 +02:00
|
|
|
--- VirtualBox-6.1.38.orig/src/VBox/Frontends/VirtualBox/src/widgets/UINameAndSystemEditor.cpp
|
|
|
|
+++ VirtualBox-6.1.38/src/VBox/Frontends/VirtualBox/src/widgets/UINameAndSystemEditor.cpp
|
|
|
|
@@ -306,15 +306,15 @@ void UINameAndSystemEditor::sltFamilyCha
|
2015-09-11 04:00:11 +02:00
|
|
|
if (iIndexWin7 != -1)
|
2016-07-26 18:15:55 +02:00
|
|
|
m_pComboType->setCurrentIndex(iIndexWin7);
|
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";
|
|
|
|
if (ARCH_BITS == 64 && m_fSupportsHWVirtEx && m_fSupportsLongMode)
|
|
|
|
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
|