From 106903126d61ebf9fced517e8796ae521546bc0d Mon Sep 17 00:00:00 2001 From: blacksun Date: Tue, 2 Apr 2019 21:01:52 +0000 Subject: [PATCH] Fix crash git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5822 bfdf4180-ca20-0410-9c96-a3a8aa849046 --- sources/diagramcontext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/diagramcontext.cpp b/sources/diagramcontext.cpp index 4f24f9289..788aab01c 100644 --- a/sources/diagramcontext.cpp +++ b/sources/diagramcontext.cpp @@ -205,6 +205,6 @@ bool DiagramContext::stringLongerThan(const QString &a, const QString &b) { @return true if that key is acceptable, false otherwise */ bool DiagramContext::keyIsAcceptable(const QString &key) const { - static QRegExp re(DiagramContext::validKeyRegExp()); + QRegExp re(DiagramContext::validKeyRegExp()); return(re.exactMatch(key)); }