MCPcopy Create free account
hub / github.com/Kitware/CMake / error

Method error

Source/QtDialog/CMakeSetupDialog.cxx:848–859  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

846}
847
848void CMakeSetupDialog::error(QString const& msg)
849{
850 this->Output->setCurrentCharFormat(this->ErrorFormat);
851 // QTextEdit will terminate the msg with a ParagraphSeparator, but it also
852 // replaces
853 // all newlines with ParagraphSeparators. By replacing the newlines by
854 // ourself, one
855 // error msg will be one paragraph.
856 QString paragraph(msg);
857 paragraph.replace(QLatin1Char('\n'), QChar::LineSeparator);
858 this->Output->append(paragraph);
859}
860
861void CMakeSetupDialog::message(QString const& msg)
862{

Callers 4

startMethod · 0.45
UVPipeOutEndMethod · 0.45
UVPipeErrEndMethod · 0.45
RunProcessMethod · 0.45

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected