Changeset 54952 in vbox for trunk/src/VBox
- Timestamp:
- Mar 25, 2015 5:44:21 PM (10 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/settings
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/UISettingsSerializer.cpp
r54936 r54952 185 185 int UISettingsSerializerProgress::exec() 186 186 { 187 /* Start the serializer: */188 m_pSerializer->start();187 /* Ask for process start: */ 188 emit sigAskForProcessStart(); 189 189 190 190 /* Call to base-class: */ … … 202 202 /* Configure self: */ 203 203 setWindowModality(Qt::WindowModal); 204 setMinimumDuration(0); 204 205 setCancelButton(0); 206 connect(this, SIGNAL(sigAskForProcessStart()), 207 this, SLOT(sltStartProcess()), Qt::QueuedConnection); 205 208 206 209 /* Create serializer: */ … … 231 234 } 232 235 236 void UISettingsSerializerProgress::sltStartProcess() 237 { 238 /* Start the serializer: */ 239 m_pSerializer->start(); 240 } 241 -
trunk/src/VBox/Frontends/VirtualBox/src/settings/UISettingsSerializer.h
r54932 r54952 131 131 Q_OBJECT; 132 132 133 signals: 134 135 /** Asks itself for process start. */ 136 void sigAskForProcessStart(); 137 133 138 public: 134 139 … … 157 162 private slots: 158 163 164 /** Starts the process. */ 165 void sltStartProcess(); 166 159 167 /** Advances the current progress value. */ 160 168 void sltAdvanceProgressValue() { setValue(value() + 1); }
Note:
See TracChangeset
for help on using the changeset viewer.