From 1b1cf786471026eafdaafc5027968f572668ef44 Mon Sep 17 00:00:00 2001 From: Tobias Rundstrom Date: Thu, 16 Feb 2006 16:08:27 -0300 Subject: [PATCH] Added a saftey check in ParsePLEdit. --- Skin.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Skin.cpp b/Skin.cpp index 44b79c8..7826d89 100644 --- a/Skin.cpp +++ b/Skin.cpp @@ -78,6 +78,8 @@ Skin::ParsePLEdit (void) QList l = line.split ('='); if (l.count () == 2) { m_pledit_txt->insert (l[0].toLower (), l[1].trimmed()); + } else if (line.length() == 0) { + break; } }