Changeset 53:6ed9634453c2 in SMSSender
- Timestamp:
- Jan 30, 2010 12:36:05 PM (12 years ago)
- Branch:
- 3.0
- Convert:
- svn:3639001d-8e34-449c-bb86-3782b86c4877/branches/3.0@52
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/libgateway/src/business/HttpHelper.cpp
r52 r53 152 152 153 153 qDebug() << "Waiting for the request to finish..."; 154 while (!request_.finished && thread()->isRunning()) {154 /* while (!request_.finished && thread()->isRunning()) { 155 155 thread()->wait(100); 156 } 156 }*/ 157 requestLoop_.exec(QEventLoop::ExcludeUserInputEvents|QEventLoop::ExcludeSocketNotifiers|QEventLoop::WaitForMoreEvents); 157 158 qDebug() << "The request finished -> continuing"; 158 159 /* while (!request_.finished) { 159 qApp->processEvents(QEventLoop::Wai tForMore | QEventLoop::ExcludeUserInput);160 qApp->processEvents(QEventLoop::Wai)(tForMore | QEventLoop::ExcludeUserInput); 160 161 } 161 162 qDebug() << "Starting request loop"; … … 216 217 //qDebug() << requestResult_; 217 218 } 219 220 requestLoop_.processEvents(); 218 221 } 219 222
Note: See TracChangeset
for help on using the changeset viewer.