libnm-qt: addConnection QUuid bug?

Lamarque V. Souza lamarque at kde.org
Sun Aug 5 01:13:00 UTC 2012


Em Friday 03 August 2012, Christophe Oosterlynck escreveu:
> Hi,

	Hi,
 
> I just started using libnm-qt. I want to add a new connection using
> NetworkManager::Settings::addConnection(...). This returns a string = uuid.
> This should probably be used when reacting to the connectionAddComplete()
> signal to check which connection request it is about. The id returned by
> addConnection() is always 0...0. Shouldn't QUuid::CreateUuid().toString()

	I have fixed this problem but keep in mind that the part of the code is 
not tested yet. I still need to port the DBus parsing code from Plasma NM to 
libnm-qt so that we do not need to parse the QVariantMapMap all the time like 
I did in this case. If you want to test the part of the code keep sending the 
problem that I will try to fix them.

[1] http://lamarque-lvs.blogspot.com/2012/07/improving-qtnetworkmanager-
former-libnm.html
-- 
Lamarque V. Souza
KDE's Network Management maintainer
http://planetkde.org/pt-br
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-networkmanager/attachments/20120804/cd1bd0f8/attachment.html>


More information about the kde-networkmanager mailing list