1 Star 0 Fork 11

konglidong/deepin-devicemanager

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
fix-no-open.patch 849 Bytes
一键复制 编辑 原始数据 按行查看 历史
Venland 提交于 2022-03-11 14:59 . fix not open
diff --git a/deepin-devicemanager/src/ThreadPool/ThreadPool.cpp b/deepin-devicemanager/src/ThreadPool/ThreadPool.cpp
index 7337b56..7de5391 100644
--- a/deepin-devicemanager/src/ThreadPool/ThreadPool.cpp
+++ b/deepin-devicemanager/src/ThreadPool/ThreadPool.cpp
@@ -178,11 +178,11 @@ void ThreadPool::loadCmdInfo()
getCmdList(lstCmd, m_Arch);
QList<QStringList>::iterator it = lstCmd.begin();
- QObjectCleanupHandler *cleaner = new QObjectCleanupHandler;
- cleaner->setParent(this);
+ //QObjectCleanupHandler *cleaner = new QObjectCleanupHandler;
+ //cleaner->setParent(this);
for (; it != lstCmd.end(); ++it) {
CmdTask *task = new CmdTask((*it)[0], (*it)[1], (*it)[2], (*it)[3], this);
- cleaner->add(task);
+ //cleaner->add(task);
start(task);
task->setAutoDelete(true);
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/konglidong/deepin-devicemanager.git
git@gitee.com:konglidong/deepin-devicemanager.git
konglidong
deepin-devicemanager
deepin-devicemanager
master

搜索帮助