Remove unnecessary QObject::

Signed-off-by: Yihe Li <winmikedows@hotmail.com>
This commit is contained in:
Yihe Li 2025-06-05 21:40:59 +08:00
parent 4a9b3d2f5f
commit c57ba911cf
No known key found for this signature in database
24 changed files with 88 additions and 95 deletions

View file

@ -282,7 +282,7 @@ void VersionList::waitToLoad()
return;
QEventLoop ev;
auto task = getLoadTask();
QObject::connect(task.get(), &Task::finished, &ev, &QEventLoop::quit);
connect(task.get(), &Task::finished, &ev, &QEventLoop::quit);
task->start();
ev.exec();
}