MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / foreach

Function foreach

Plugins/FreeRDP/Client/DlgSetFreeRDP.cpp:159–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157 Q_ASSERT(check);
158 QStringList lstDrives = m_pSettings->GetRedirectionDrives();
159 foreach(auto path, lstDrives)
160 {
161 QModelIndex index;
162 if(!path.isEmpty()) {
163 index = m_pFileModel->index(path);
164 ui->tvDrive->setCurrentIndex(index);
165 }
166 }
167 ShowDriveSelected(lstDrives.size());
168
169 // Security

Callers

nothing calls this directly

Calls 2

isEmptyMethod · 0.45
indexMethod · 0.45

Tested by

no test coverage detected