MCPcopy Create free account
hub / github.com/KDAB/GammaRay / applyPendingSelection

Method applyPendingSelection

common/networkselectionmodel.cpp:222–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222void 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
235void GammaRay::NetworkSelectionModel::clearPendingSelection()
236{

Callers 1

Calls 1

isEmptyMethod · 0.45

Tested by 1