Changeset 94516 in vbox
- Timestamp:
- Apr 7, 2022 2:22:14 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 150861
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/networking/UIUpdateManager.cpp
r94458 r94516 51 51 52 52 private: 53 #if 0 53 54 54 /** Holds whether this customer has forced privelegies. */ 55 55 bool m_fForcedCall; 56 #endif 56 57 57 }; 58 58 … … 88 88 89 89 UIUpdateStepVirtualBox::UIUpdateStepVirtualBox(bool fForcedCall) 90 #if 091 90 : m_fForcedCall(fForcedCall) 92 #endif93 91 { 94 92 Q_UNUSED(fForcedCall); … … 121 119 #else 122 120 UINotificationProgressNewVersionChecker *pNotification = 123 new UINotificationProgressNewVersionChecker( );121 new UINotificationProgressNewVersionChecker(m_fForcedCall); 124 122 connect(pNotification, &UINotificationProgressNewVersionChecker::sigProgressFinished, 125 123 this, &UIUpdateStepVirtualBox::sigStepFinished); -
trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter/UINotificationObjects.cpp
r94454 r94516 4311 4311 *********************************************************************************************************************************/ 4312 4312 4313 UINotificationProgressNewVersionChecker::UINotificationProgressNewVersionChecker() 4313 UINotificationProgressNewVersionChecker::UINotificationProgressNewVersionChecker(bool fForcedCall) 4314 : m_fForcedCall(fForcedCall) 4314 4315 { 4315 4316 connect(this, &UINotificationProgress::sigProgressFinished, … … 4363 4364 } 4364 4365 else 4365 UINotificationMessage::showUpdateNotFound(); 4366 { 4367 if (m_fForcedCall) 4368 UINotificationMessage::showUpdateNotFound(); 4369 } 4366 4370 } 4367 4371 -
trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter/UINotificationObjects.h
r94454 r94516 2692 2692 public: 2693 2693 2694 UINotificationProgressNewVersionChecker( );2694 UINotificationProgressNewVersionChecker(bool fForcedCall); 2695 2695 2696 2696 protected: … … 2710 2710 2711 2711 CHostUpdate m_comUpdateChecker; 2712 /** Holds whether this customer has forced privelegies. */ 2713 bool m_fForcedCall; 2712 2714 }; 2713 2715
Note:
See TracChangeset
for help on using the changeset viewer.