mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Fix crash
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5822 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user