locationpickerservice/src/locationpickerservice.cpp
changeset 20 cd10d5b85554
parent 17 0f22fb80ebba
child 30 96df3ab41000
equal deleted inserted replaced
17:0f22fb80ebba 20:cd10d5b85554
    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         bool ok = completeRequest(mAsyncReqId,mReturn);    
    51         bool ok = completeRequest(mAsyncReqId,mReturn);
    52         mAsyncReqId = 0;
    52 		mAsyncReqId = 0;
    53         if(ok==false)
    53         if(ok == false)
    54         {
    54         {
    55             qApp->quit();
    55         qApp->quit();
    56         }
    56         }
    57     }
    57     }
    58 }
    58 }
    59 // ----------------------------------------------------------------------------
    59 // ----------------------------------------------------------------------------
    60 // isActive()
    60 // isActive()