diff options
author | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-02-11 06:27:44 (GMT) |
---|---|---|
committer | Aaron McCarthy <aaron.mccarthy@nokia.com> | 2010-02-11 06:27:44 (GMT) |
commit | 34450eb48e56677395601bf155a6a05752b326ad (patch) | |
tree | 80ea35af7a83786fdac372b8673edf514f778060 /src/network/bearer/qnetworkconfiguration.cpp | |
parent | 9a76a90b1944db52bd4180d27c01781fbb3499d4 (diff) | |
download | Qt-34450eb48e56677395601bf155a6a05752b326ad.zip Qt-34450eb48e56677395601bf155a6a05752b326ad.tar.gz Qt-34450eb48e56677395601bf155a6a05752b326ad.tar.bz2 |
Use provided typedef for QNetworkConfigurationPrivatePointer.
Diffstat (limited to 'src/network/bearer/qnetworkconfiguration.cpp')
-rw-r--r-- | src/network/bearer/qnetworkconfiguration.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/network/bearer/qnetworkconfiguration.cpp b/src/network/bearer/qnetworkconfiguration.cpp index 9246645..8c11d9c 100644 --- a/src/network/bearer/qnetworkconfiguration.cpp +++ b/src/network/bearer/qnetworkconfiguration.cpp @@ -326,10 +326,9 @@ QList<QNetworkConfiguration> QNetworkConfiguration::children() const if (type() != QNetworkConfiguration::ServiceNetwork || !isValid() ) return results; - QMutableListIterator<QExplicitlySharedDataPointer<QNetworkConfigurationPrivate> > iter(d->serviceNetworkMembers); - QExplicitlySharedDataPointer<QNetworkConfigurationPrivate> p(0); + QMutableListIterator<QNetworkConfigurationPrivatePointer> iter(d->serviceNetworkMembers); while(iter.hasNext()) { - p = iter.next(); + QNetworkConfigurationPrivatePointer p = iter.next(); //if we have an invalid member get rid of it -> was deleted earlier on if (!p->isValid) iter.remove(); |