Changeset 86793 in vbox
- Timestamp:
- Nov 3, 2020 11:25:58 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIProgressTask.cpp
r86773 r86793 62 62 m_comProgress = createProgress(); 63 63 64 /* Prepare progress-object: */ 65 m_pProgressObject = new UIProgressObject(m_comProgress, this); 66 if (m_pProgressObject) 64 /* Make sure progress valid: */ 65 if (m_comProgress.isNull()) 67 66 { 68 /* Setup connections: */69 connect(m_pProgressObject.data(), &UIProgressObject::sigProgressEventHandlingFinished,70 this, &UIProgressTask::sltHandleProgressEventHandlingFinished);71 72 67 /* Notify external listeners: */ 73 68 emit sigProgressStarted(); 69 emit sigProgressFinished(); 70 } 71 else 72 { 73 /* Prepare progress-object: */ 74 m_pProgressObject = new UIProgressObject(m_comProgress, this); 75 if (m_pProgressObject) 76 { 77 /* Setup connections: */ 78 connect(m_pProgressObject.data(), &UIProgressObject::sigProgressEventHandlingFinished, 79 this, &UIProgressTask::sltHandleProgressEventHandlingFinished); 80 81 /* Notify external listeners: */ 82 emit sigProgressStarted(); 83 } 74 84 } 75 85 }
Note:
See TracChangeset
for help on using the changeset viewer.