Changeset 86324 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Sep 28, 2020 3:25:28 PM (4 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/globals
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIProgressEventHandler.cpp
r82968 r86324 72 72 { 73 73 /* Register event sources in their listeners as well: */ 74 m_pQtListener->getWrapped()->registerSource(comEventSourceProgress, m_comEventListener); 74 m_pQtListener->getWrapped()->registerSource(comEventSourceProgress, 75 m_comEventListener, 76 QSet<KVBoxEventType>() << KVBoxEventType_OnProgressTaskCompleted); 75 77 } 76 78 } … … 79 81 { 80 82 /* Create direct (sync) connections for signals of main listener: */ 83 connect(m_pQtListener->getWrapped(), &UIMainEventListener::sigListeningFinished, 84 this, &UIProgressEventHandler::sigHandlingFinished, 85 Qt::DirectConnection); 81 86 connect(m_pQtListener->getWrapped(), &UIMainEventListener::sigProgressPercentageChange, 82 87 this, &UIProgressEventHandler::sigProgressPercentageChange, -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIProgressEventHandler.h
r82968 r86324 43 43 /** Notifies about task complete for progress with @a uProgressId. */ 44 44 void sigProgressTaskComplete(const QUuid &uProgressId); 45 /** Notifies about handling has finished. */ 46 void sigHandlingFinished(); 45 47 46 48 public:
Note:
See TracChangeset
for help on using the changeset viewer.