libnm-qt: addConnection QUuid bug?

Christophe Oosterlynck christophe.oosterlynck at dzine.be
Fri Aug 3 15:09:32 UTC 2012


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()
[1] be used instead of QUuid().toString() [2]?

[1] http://qt-project.org/doc/qt-4.8/quuid.html#createUuid
[2]
https://projects.kde.org/projects/kdereview/libnm-qt/repository/revisions/master/entry/settings.cpp#L79

Best regards,

Christophe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-networkmanager/attachments/20120803/63842939/attachment.html>


More information about the kde-networkmanager mailing list