diff options
author | Lorn Potter <lorn.potter@nokia.com> | 2010-03-23 01:18:09 (GMT) |
---|---|---|
committer | Lorn Potter <lorn.potter@nokia.com> | 2010-03-23 01:18:09 (GMT) |
commit | e436d3a50ad3bcdddbc724f7559d251327170cfe (patch) | |
tree | 0fb398d5d6d52eb1bec7e9901d268ff7b778bf5d /src | |
parent | 5e3e89bff7699c9a0c1bb43a331b2982eceb8682 (diff) | |
download | Qt-e436d3a50ad3bcdddbc724f7559d251327170cfe.zip Qt-e436d3a50ad3bcdddbc724f7559d251327170cfe.tar.gz Qt-e436d3a50ad3bcdddbc724f7559d251327170cfe.tar.bz2 |
fix warning
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/bearer/corewlan/qcorewlanengine.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/bearer/corewlan/qcorewlanengine.mm b/src/plugins/bearer/corewlan/qcorewlanengine.mm index 60c6fbd..449edbd 100644 --- a/src/plugins/bearer/corewlan/qcorewlanengine.mm +++ b/src/plugins/bearer/corewlan/qcorewlanengine.mm @@ -738,7 +738,7 @@ void QCoreWlanEngine::getUserConfigurations() // add user configured system networks SCDynamicStoreRef dynRef = SCDynamicStoreCreate(kCFAllocatorSystemDefault, (CFStringRef)@"Qt corewlan", nil, nil); - CFDictionaryRef airportPlist = (const __CFDictionary*)SCDynamicStoreCopyValue(dynRef, (CFStringRef)[NSString stringWithFormat:@"Setup:/Network/Interface/%@/AirPort", [wifiInterface name]]); + NSDictionary * airportPlist = (NSDictionary *)SCDynamicStoreCopyValue(dynRef, (CFStringRef)[NSString stringWithFormat:@"Setup:/Network/Interface/%@/AirPort", [wifiInterface name]]); CFRelease(dynRef); NSDictionary *prefNetDict = [airportPlist objectForKey:@"PreferredNetworks"]; |