Thank you JPN!
That did it!
This is how the function ended up to be:
Qt Code:
QList<QNetworkAddressEntry> entries = iface.addressEntries(); if (!entries.isEmpty()) { return ip; } }To copy to clipboard, switch view to plain text mode
Thank you JPN!
That did it!
This is how the function ended up to be:
Qt Code:
QList<QNetworkAddressEntry> entries = iface.addressEntries(); if (!entries.isEmpty()) { return ip; } }To copy to clipboard, switch view to plain text mode
Last edited by jpn; 3rd January 2008 at 09:53. Reason: Changed <code> to [code]
Bookmarks