[Kde-hardware-devel] Solid - how to get path of storage device
Kevin Ottens
ervin at kde.org
Fri Jun 27 10:30:29 CEST 2008
Le Wednesday 11 June 2008, David Boosalis a écrit :
> Chis your answers are clear as day, but I still can't get the filePath.to
> print out.
Sorry to jump that late on that (life's been busy...). Did you solve your
problem in the meantime?
> So this is what I have, pretty much verbatim of what you have:
> [...]
> qDebug() << "Make accesible...";
> storageAccess->setup();
> }
> qDebug() << "File path is: " << storageAccess->filePath();
> setupSelectedSlot(SetupDashBoardView::FileSettings);
> }
> [...]
> Could it be a timing issue. Or do you have any ideas
That's exactly that. The setup() operation is asynchronous, you have to wait
for it to be done using the setupDone() signal.
Regards.
--
Kévin 'ervin' Ottens, http://ervin.ipsquad.net
"Ni le maître sans disciple, Ni le disciple sans maître,
Ne font reculer l'ignorance."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-hardware-devel/attachments/20080627/3865c020/attachment.pgp
More information about the Kde-hardware-devel
mailing list