fix(解决bug146124): 【多端协同】麒麟设备之间通过文件右键菜单-“发送至多端协同”发送失败
文管右键发送到多端协同增加PC与PC连接判断
This commit is contained in:
parent
aba35c6572
commit
ddc8b2327e
|
@ -597,7 +597,11 @@ void MainWindow::setLocalPathList(const QStringList &list)
|
|||
qInfo() << "peony menu send: not current connect";
|
||||
return;
|
||||
}
|
||||
uploadLocalListPath("/Download", list);
|
||||
if (m_connectInfo.deviceType == ConnectionService::DeviceType::ANDROID) {
|
||||
uploadLocalListPath("/Download", list);
|
||||
} else if (m_connectInfo.deviceType == ConnectionService::DeviceType::PC) {
|
||||
uploadLocalListPath("/下载", list);
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::deleterUI()
|
||||
|
@ -882,6 +886,9 @@ void MainWindow::slotCurrentDirectoryList(const QMap<QString, FileInfo> &filelis
|
|||
m_mobileFileList->deleteLater();
|
||||
m_mobileFileList = nullptr;
|
||||
}
|
||||
if (deviceName.startsWith("/")) {
|
||||
deviceName = m_connectInfo.deviceName + deviceName;
|
||||
}
|
||||
m_mobileStorageWidget = new MobileStorageWidget(filelist, deviceName, TYPE::Pctopc);
|
||||
m_mobileStorageWidget->sigSearchInstalled(m_isUpdated, m_searchInfoPath);
|
||||
m_mobileStorageWidget->setTheme(m_theme);
|
||||
|
|
Loading…
Reference in New Issue