mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-10-04 07:09:56 +00:00
feat: remove auto map
This commit is contained in:
parent
06cdb345bb
commit
71ea24c1d7
6 changed files with 12 additions and 24 deletions
|
@ -49,6 +49,10 @@ bool DeviceManage::connectDevice(Device::DeviceParams params)
|
|||
|
||||
void DeviceManage::updateScript(QString script)
|
||||
{
|
||||
if (m_devices.isEmpty()) {
|
||||
qWarning() << "no device connect!!!";
|
||||
return;
|
||||
}
|
||||
QMapIterator<QString, QPointer<Device>> i(m_devices);
|
||||
while (i.hasNext()) {
|
||||
i.next();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue