MCPcopy Create free account
hub / github.com/Kitware/ParaView / removeSwap

Method removeSwap

Qt/Python/pqPythonFileIO.cxx:152–159  ·  view source on GitHub ↗

-----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

150
151//-----------------------------------------------------------------------------
152void pqPythonFileIO::PythonFile::removeSwap() const
153{
154 const QString swapFilename = ::GetSwapFilename(this->Name);
155 if (QFile::exists(swapFilename))
156 {
157 QFile::remove(swapFilename);
158 }
159}
160
161//-----------------------------------------------------------------------------
162pqPythonFileIO::pqPythonFileIO(QWidget* parent, QTextEdit& text)

Callers 2

~pqPythonFileIOMethod · 0.80
saveBufferMethod · 0.80

Calls 1

GetSwapFilenameFunction · 0.85

Tested by

no test coverage detected