mirror of
https://abf.rosa.ru/djam/virtualbox.git
synced 2025-02-24 01:22:45 +00:00
20 lines
1,022 B
Diff
20 lines
1,022 B
Diff
|
--- VirtualBox-4.3.8/src/VBox/Frontends/VirtualBox/src/widgets/UINameAndSystemEditor.cpp.orig 2014-03-03 23:50:59.529129676 +0000
|
||
|
+++ VirtualBox-4.3.8/src/VBox/Frontends/VirtualBox/src/widgets/UINameAndSystemEditor.cpp 2014-03-03 23:51:25.911130743 +0000
|
||
|
@@ -206,12 +206,12 @@
|
||
|
/* Or select Ubuntu item for Linux family as default: */
|
||
|
else if (strFamilyId == "Linux")
|
||
|
{
|
||
|
- QString strDefaultID = "Ubuntu";
|
||
|
+ QString strDefaultID = "Mandriva";
|
||
|
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 iIndexMandriva = m_pTypeCombo->findData(strDefaultID, TypeID);
|
||
|
+ if (iIndexMandriva != -1)
|
||
|
+ m_pTypeCombo->setCurrentIndex(iIndexMandriva);
|
||
|
}
|
||
|
/* Else simply select the first one present: */
|
||
|
else m_pTypeCombo->setCurrentIndex(0);
|