QTfrontend/hwconsts.cpp.in
changeset 14860 e239378a9400
parent 14758 123aaa2bf4b5
child 14975 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();