equal
deleted
inserted
replaced
46 { |
46 { |
47 if ( isActive() ) |
47 if ( isActive() ) |
48 { |
48 { |
49 mReturn=aLm; |
49 mReturn=aLm; |
50 connect( this, SIGNAL( returnValueDelivered() ), qApp, SLOT( quit() ) ); |
50 connect( this, SIGNAL( returnValueDelivered() ), qApp, SLOT( quit() ) ); |
51 completeRequest(mAsyncReqId,mReturn); |
51 bool ok = completeRequest(mAsyncReqId,mReturn); |
52 mAsyncReqId = 0; |
52 mAsyncReqId = 0; |
|
53 if(ok==false) |
|
54 { |
|
55 qApp->quit(); |
|
56 } |
53 } |
57 } |
54 } |
58 } |
55 // ---------------------------------------------------------------------------- |
59 // ---------------------------------------------------------------------------- |
56 // isActive() |
60 // isActive() |
57 // ---------------------------------------------------------------------------- |
61 // ---------------------------------------------------------------------------- |