changeset 14839 | e239378a9400 |
parent 14737 | 123aaa2bf4b5 |
child 14954 | f59b7f5cf6e8 |
--- a/QTfrontend/hwconsts.cpp.in Thu Apr 25 21:25:16 2019 +0200 +++ b/QTfrontend/hwconsts.cpp.in Thu Apr 25 23:01:05 2019 +0200 @@ -34,6 +34,8 @@ QString * cRevisionString = new QString("${HEDGEWARS_REVISION}"); QString * cHashString = new QString("${HEDGEWARS_HASH}"); +// For disallowing some characters that would screw up file name +QString * cSafeFileNameRegExp = new QString("[^:/\\\\]*"); QDir * bindir = new QDir(); QDir * cfgdir = new QDir();