2014-03-04 12:09:44 +01:00
|
|
|
--- a/src/VBox/Frontends/VirtualBox/src/widgets/UINameAndSystemEditor.cpp 2014-02-25 18:08:58.000000000 +0100
|
|
|
|
+++ b/src/VBox/Frontends/VirtualBox/src/widgets/UINameAndSystemEditor.cpp 2014-03-03 15:18:07.298245235 +0100
|
|
|
|
@@ -203,15 +203,15 @@
|
2015-09-11 04:00:11 +02:00
|
|
|
if (iIndexWin7 != -1)
|
|
|
|
m_pTypeCombo->setCurrentIndex(iIndexWin7);
|
2010-12-23 11:08:49 +01:00
|
|
|
}
|
2012-10-02 16:03:09 +02:00
|
|
|
- /* Or select Ubuntu item for Linux family as default: */
|
2014-03-04 12:09:44 +01:00
|
|
|
+ /* Or select openSUSE item for Linux family as default: */
|
2012-10-02 16:03:09 +02:00
|
|
|
else if (strFamilyId == "Linux")
|
2010-12-23 11:08:49 +01:00
|
|
|
{
|
2014-03-04 12:09:44 +01:00
|
|
|
- QString strDefaultID = "Ubuntu";
|
|
|
|
+ QString strDefaultID = "openSUSE";
|
|
|
|
if (ARCH_BITS == 64 && m_fSupportsHWVirtEx && m_fSupportsLongMode)
|
|
|
|
strDefaultID += "_64";
|
|
|
|
- int iIndexUbuntu = m_pTypeCombo->findData(strDefaultID, TypeID);
|
|
|
|
- if (iIndexUbuntu != -1)
|
|
|
|
- m_pTypeCombo->setCurrentIndex(iIndexUbuntu);
|
|
|
|
+ int iIndexopenSUSE = m_pTypeCombo->findData(strDefaultID, TypeID);
|
|
|
|
+ if (iIndexopenSUSE != -1)
|
|
|
|
+ m_pTypeCombo->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: */
|
|
|
|
else m_pTypeCombo->setCurrentIndex(0);
|