Logo Search packages:      
Sourcecode: qlix version File versions  Download package

void MtpDevice::processErrorStack (  )  [private]

Gets the device's error stack and runs over each error to store its text internally and then clears the device's error stack

Definition at line 323 of file MtpDevice.cpp.

Referenced by AddTrackToAlbum(), DefaultJPEGSample(), Fetch(), NewAlbum(), removeObject(), RemoveTrack(), TransferFile(), TransferTrack(), UpdateAlbumArt(), and UpdateSpaceInformation().

  if (!_device)
  LIBMTP_error_t* es = LIBMTP_Get_Errorstack(_device);
  while (es)
    string s(es->error_text);
    es = es->next;
    cout << "Qlix MTP ERROR: " << s << endl;


Generated by  Doxygen 1.6.0   Back to index