Changeset 97595 in vbox
- Timestamp:
- Nov 17, 2022 4:07:01 PM (2 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIProgressTask.cpp
r96407 r97595 108 108 { 109 109 if (m_pProgressObject) 110 { 110 111 m_pProgressObject->cancel(); 112 /* Notify external listeners: */ 113 emit sigProgressCanceled(); 114 } 111 115 } 112 116 -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIProgressTask.h
r96407 r97595 59 59 * @param uPercent Brings the progress percentage. */ 60 60 void sigProgressChange(ulong uPercent); 61 /** Notifies listeners about progress was canceled. */ 62 void sigProgressCanceled(); 61 63 /** Notifies listeners about progress has finished. */ 62 64 void sigProgressFinished(); -
trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter/UINotificationObject.cpp
r96407 r97595 182 182 connect(m_pTask, &UIProgressTask::sigProgressChange, 183 183 this, &UINotificationProgress::sltHandleProgressChange); 184 connect(m_pTask, &UIProgressTask::sigProgressCanceled, 185 this, &UINotificationProgress::sigProgressFinished); 184 186 connect(m_pTask, &UIProgressTask::sigProgressFinished, 185 187 this, &UINotificationProgress::sltHandleProgressFinished);
Note:
See TracChangeset
for help on using the changeset viewer.