equal
deleted
inserted
replaced
238 resReader.SetBuffer(str); |
238 resReader.SetBuffer(str); |
239 strings->AppendL( driveName ); |
239 strings->AppendL( driveName ); |
240 } |
240 } |
241 } |
241 } |
242 resReader.SetBuffer(str); |
242 resReader.SetBuffer(str); |
243 HBufC* message( FormatStringL(resReader.ReadHBufCL()->Des(), *strings)); |
243 HBufC* resHandle = resReader.ReadHBufCL(); |
|
244 CleanupStack::PushL( resHandle ); |
|
245 HBufC* message(FormatStringL(resHandle->Des(),*strings)); |
|
246 CleanupStack::PushL( message ); |
244 TRACES1("COutOfDiskMonitor::ShowGlobalQueryL: txt: %S",message); |
247 TRACES1("COutOfDiskMonitor::ShowGlobalQueryL: txt: %S",message); |
245 DisplayL(message->Des()); |
248 DisplayL(message->Des()); |
246 |
249 |
247 TBuf8<2> sdDriveName; |
250 TBuf8<2> sdDriveName; |
248 sdDriveName.Append(aDrive+'A'); |
251 sdDriveName.Append(aDrive+'A'); |
250 CAknSDData* sd = CAknSDData::NewL(KAknSecondaryDisplayCategory, sdDialogId, sdDriveName); |
253 CAknSDData* sd = CAknSDData::NewL(KAknSecondaryDisplayCategory, sdDialogId, sdDriveName); |
251 iQuery->SetSecondaryDisplayData(sd); |
254 iQuery->SetSecondaryDisplayData(sd); |
252 |
255 |
253 iNoteInfo.iStatus = aStatus; |
256 iNoteInfo.iStatus = aStatus; |
254 iNoteInfo.iDrive = aDrive; |
257 iNoteInfo.iDrive = aDrive; |
|
258 CleanupStack::PopAndDestroy(message); |
|
259 CleanupStack::PopAndDestroy(resHandle); |
255 CleanupStack::PopAndDestroy( str ); |
260 CleanupStack::PopAndDestroy( str ); |
256 CleanupStack::PopAndDestroy( strings ); |
261 CleanupStack::PopAndDestroy( strings ); |
257 iOutOfDiskMonitor->SetAsDisplayedL(aDrive, aStatus); |
262 iOutOfDiskMonitor->SetAsDisplayedL(aDrive, aStatus); |
258 } |
263 } |
259 TRACES("COutOfDiskGlobalNote::ShowGlobalQueryL: End"); |
264 TRACES("COutOfDiskGlobalNote::ShowGlobalQueryL: End"); |
260 } |
265 } |
261 |
266 |