1
0
forked from pool/virtualbox
virtualbox/vbox-disable-updates.diff
Larry Finger ff1d6fb65b Accepting request 414498 from home:luizluca:branches:Virtualization
bump to 5.1.2

I tried to keep all Suse customization as they are. Warning dialogs were ported to Qt5.
I did not check for added executables in the new release.

Compile tested on all current targets. Runtime tested on Tumbleweed, both host and guest.

OBS-URL: https://build.opensuse.org/request/show/414498
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=262
2016-07-26 16:15:55 +00:00

44 lines
2.2 KiB
Diff

Index: VirtualBox-5.1.2/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsUpdate.cpp
===================================================================
--- VirtualBox-5.1.2.orig/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsUpdate.cpp
+++ VirtualBox-5.1.2/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsUpdate.cpp
@@ -68,7 +68,7 @@ void UIGlobalSettingsUpdate::loadToCache
void UIGlobalSettingsUpdate::getFromCache()
{
/* Apply internal variables data to QWidget(s): */
- m_pCheckBoxUpdate->setChecked(m_cache.m_fCheckEnabled);
+ m_pCheckBoxUpdate->setChecked(false);
if (m_pCheckBoxUpdate->isChecked())
{
m_pComboBoxUpdatePeriod->setCurrentIndex(m_cache.m_periodIndex);
Index: VirtualBox-5.1.2/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp
===================================================================
--- VirtualBox-5.1.2.orig/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp
+++ VirtualBox-5.1.2/src/VBox/Frontends/VirtualBox/src/settings/UISettingsDialogSpecific.cpp
@@ -104,16 +104,6 @@ UISettingsDialogGlobal::UISettingsDialog
iPageIndex, "#input", pSettingsPage);
break;
}
-#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
- /* Update page: */
- case GlobalSettingsPageType_Update:
- {
- pSettingsPage = new UIGlobalSettingsUpdate;
- addItem(":/refresh_32px.png", ":/refresh_24px.png", ":/refresh_16px.png",
- iPageIndex, "#update", pSettingsPage);
- break;
- }
-#endif /* VBOX_GUI_WITH_NETWORK_MANAGER */
/* Language page: */
case GlobalSettingsPageType_Language:
{
@@ -252,8 +242,6 @@ void UISettingsDialogGlobal::retranslate
m_pSelector->setItemText(GlobalSettingsPageType_Input, tr("Input"));
#ifdef VBOX_GUI_WITH_NETWORK_MANAGER
- /* Update page: */
- m_pSelector->setItemText(GlobalSettingsPageType_Update, tr("Update"));
#endif /* VBOX_GUI_WITH_NETWORK_MANAGER */
/* Language page: */