Added a saftey check in ParsePLEdit.

This commit is contained in:
Tobias Rundstrom 2006-02-16 16:08:27 -03:00
parent d5371d3d2b
commit 1b1cf78647

View file

@ -78,6 +78,8 @@ Skin::ParsePLEdit (void)
QList<QByteArray> l = line.split ('=');
if (l.count () == 2) {
m_pledit_txt->insert (l[0].toLower (), l[1].trimmed());
} else if (line.length() == 0) {
break;
}
}