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

Method readCustomStyleSheet

plugins/manpage/manpagedocumentation.cpp:95–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 }
94
95 static QString readCustomStyleSheet()
96 {
97 const auto customStyleSheetFile = QStringLiteral("kdevmanpage/manpagedocumentation.css");
98 const QString cssFilePath = QStandardPaths::locate(QStandardPaths::GenericDataLocation, customStyleSheetFile);
99 if (cssFilePath.isEmpty()) {
100 qCWarning(MANPAGE) << "couldn't find" << customStyleSheetFile;
101 return QString();
102 }
103 return readStyleSheet(cssFilePath);
104 }
105
106 StyleSheetFixer()
107 : m_customStyleSheet{readCustomStyleSheet()}

Callers

nothing calls this directly

Calls 2

QStringClass · 0.70
isEmptyMethod · 0.45

Tested by

no test coverage detected