Commit edc27113 authored by Michael Reeves's avatar Michael Reeves

Convert static const char* to const expr

parent dfd04d09
Pipeline #12838 passed with stage
in 7 minutes and 25 seconds
......@@ -22,7 +22,7 @@ void CvsIgnoreList::init(FileAccess& dir, const t_DirectoryList* pDirList)
static const QStringList ignorestr = QStringList{".", ".. core", "RCSLOG", "tags", "TAGS", "RCS", "SCCS", ".make.state",
".nse_depinfo", "#* .#* cvslog.*", ",* CVS", "CVS.adm", ".del-*", "*.a", "*.olb", "*.o", "*.obj",
"*.so", "*.Z", "*~ *.old", "*.elc *.ln", "*.bak", "*.BAK", "*.orig", "*.rej", "*.exe", "_$*", "*$"};
static const char* varname = "CVSIGNORE";
constexpr char varname[] = "CVSIGNORE";
addEntriesFromList(ignorestr);
addEntriesFromFile(QDir::homePath() + "/.cvsignore");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment