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

Function forceRemoveLockfile

kdevplatform/shell/sessionlock.cpp:37–42  ·  view source on GitHub ↗

Force-removes the lock-file.

Source from the content-addressed store, hash-verified

35
36/// Force-removes the lock-file.
37void forceRemoveLockfile(const QString& lockFilename)
38{
39 if( QFile::exists( lockFilename ) ) {
40 QFile::remove( lockFilename );
41 }
42}
43
44} // unnamed namespace
45

Callers 1

tryLockSessionMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected