MCPcopy Create free account
hub / github.com/cxasm/notepad-- / hide_file

Function hide_file

src/cceditor/ccnotepad.cpp:5334–5342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5332#if 0
5333#ifdef _WIN32
5334void hide_file(const QString& szFile)
5335{
5336#ifdef UNICODE
5337 std::wstring wstr = szFile.toStdWString();
5338 ::SetFileAttributes(wstr.c_str(), FILE_ATTRIBUTE_HIDDEN);
5339#else
5340 ::SetFileAttributes(szFile.toStdString()c_str(), FILE_ATTRIBUTE_HIDDEN);
5341#endif // !UNICODE
5342}
5343#endif // _WIN32
5344#endif
5345

Callers 1

saveFileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected