VirtualBox

Ignore:
Timestamp:
Aug 7, 2021 7:36:02 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
146166
Message:

FE/Qt: bugref:10067: Moving singleton functionality from UIDownloaderExtensionPack to UINotificationDownloaderExtensionPack.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/networking/UIUpdateManager.cpp

    r90559 r90560  
    2727#include "UICommon.h"
    2828#include "VBoxUtils.h"
    29 #include "UIDownloaderExtensionPack.h"
    3029#include "UIExtraDataManager.h"
    3130#include "UIMessageCenter.h"
     
    420419
    421420    /* Return if already downloading: */
    422     if (UIDownloaderExtensionPack::current())
     421    if (UINotificationDownloaderExtensionPack::exists())
    423422    {
    424423        emit sigStepComplete();
     
    491490
    492491    /* Download extension pack: */
    493     UINotificationDownloaderExtensionPack *pNotification = new UINotificationDownloaderExtensionPack(GUI_ExtPackName);
     492    UINotificationDownloaderExtensionPack *pNotification = UINotificationDownloaderExtensionPack::instance(GUI_ExtPackName);
    494493    /* After downloading finished => propose to install the Extension Pack: */
    495494    connect(pNotification, &UINotificationDownloaderExtensionPack::sigExtensionPackDownloaded,
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette