MCPcopy Create free account
hub / github.com/KDE/kdevelop / jobFinished

Method jobFinished

kdevplatform/project/abstractfilemanagerplugin.cpp:140–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

138}
139
140void AbstractFileManagerPluginPrivate::jobFinished(KJob* job)
141{
142 // ensure we don't keep a dangling point in our list
143 // NOTE: job is potentially emitting its finished signal from its destructor
144 // or the item that was used internally may have been deleted already
145 for (auto& jobs : m_projectJobs) {
146 if (jobs.removeOne(reinterpret_cast<FileManagerListJob*>(job))) {
147 break;
148 }
149 }
150}
151
152void AbstractFileManagerPluginPrivate::addJobItems(FileManagerListJob* job,
153 ProjectFolderItem* baseItem,

Callers

nothing calls this directly

Calls 1

removeOneMethod · 0.80

Tested by

no test coverage detected