mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 16:20:52 +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
|
@return true if that key is acceptable, false otherwise
|
||||||
*/
|
*/
|
||||||
bool DiagramContext::keyIsAcceptable(const QString &key) const {
|
bool DiagramContext::keyIsAcceptable(const QString &key) const {
|
||||||
static QRegExp re(DiagramContext::validKeyRegExp());
|
QRegExp re(DiagramContext::validKeyRegExp());
|
||||||
return(re.exactMatch(key));
|
return(re.exactMatch(key));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user