- Fix crash when deleting a label

This commit is contained in:
Christophe Dumez 2010-01-02 22:53:27 +00:00
commit 78ba99778a
3 changed files with 12 additions and 7 deletions

View file

@ -68,7 +68,7 @@ public:
foreach(const QString& token, match_tokens) {
if(token.isEmpty() || token == "")
continue;
qDebug("Token: %s", token.toLocal8Bit().data());
//qDebug("Token: %s", token.toLocal8Bit().data());
QRegExp reg(token, Qt::CaseInsensitive, QRegExp::Wildcard);
//reg.setMinimal(false);
if(reg.indexIn(s) < 0) return false;