| 220 | } |
| 221 | |
| 222 | void GammaRay::NetworkSelectionModel::applyPendingSelection() |
| 223 | { |
| 224 | if (m_pendingSelection.isEmpty() && m_pendingCommand == NoUpdate) |
| 225 | return; |
| 226 | |
| 227 | QItemSelection qmiSelection; |
| 228 | if (translateSelection(m_pendingSelection, qmiSelection)) { |
| 229 | if (!qmiSelection.isEmpty()) |
| 230 | select(qmiSelection, m_pendingCommand); |
| 231 | clearPendingSelection(); |
| 232 | } |
| 233 | } |
| 234 | |
| 235 | void GammaRay::NetworkSelectionModel::clearPendingSelection() |
| 236 | { |