equal
deleted
inserted
replaced
237 } else { |
237 } else { |
238 configurationAdded(config); |
238 configurationAdded(config); |
239 } |
239 } |
240 } |
240 } |
241 |
241 |
|
242 QNetworkConfiguration defaultConfiguration = manager.defaultConfiguration(); |
|
243 if (defaultConfiguration.type() == QNetworkConfiguration::UserChoice) { |
|
244 QTreeWidgetItem *item = itemMap.take(defaultConfiguration.identifier()); |
|
245 if (item) |
|
246 updateItem(item, defaultConfiguration); |
|
247 else |
|
248 configurationAdded(defaultConfiguration); |
|
249 } |
|
250 |
242 foreach (const QString &id, itemMap.keys()) |
251 foreach (const QString &id, itemMap.keys()) |
243 delete itemMap.value(id); |
252 delete itemMap.value(id); |
244 } |
253 } |
245 |
254 |
246 void BearerMonitor::onlineStateChanged(bool isOnline) |
255 void BearerMonitor::onlineStateChanged(bool isOnline) |