[qet] qet/qet: [5822] Fix crash

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 5822
Author:   blacksun
Date:     2019-04-02 23:01:52 +0200 (Tue, 02 Apr 2019)
Log Message:
-----------
Fix crash

Modified Paths:
--------------
    trunk/sources/diagramcontext.cpp

Modified: trunk/sources/diagramcontext.cpp
===================================================================
--- trunk/sources/diagramcontext.cpp	2019-04-02 18:09:26 UTC (rev 5821)
+++ trunk/sources/diagramcontext.cpp	2019-04-02 21:01:52 UTC (rev 5822)
@@ -205,6 +205,6 @@
 	@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));
 }


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/