aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoaquim Rocha <jrocha@igalia.com>2011-01-07 09:03:43 +0100
committerStanislav Ionascu <stanislav.ionascu@nokia.com>2011-01-07 12:22:32 +0200
commitb7d66fc5c97db7e657983148e44bed2387c675c3 (patch)
tree33f80c772ffe89e260cb65012b547d2050ef3c48
parentc0d45628d899e6e0ccc491030b8356245117053c (diff)
Fixes: NB#217212 - libmeegotouch aborts on minor css problem...
RevBy: Stanislav Ionascu, Adrián Yanes, Armin Berres Merge-Request: 1179 Details: Removes eventual blank strings from the results when splitting the attribute values.
-rw-r--r--src/corelib/style/mstylesheetattribute.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/style/mstylesheetattribute.cpp b/src/corelib/style/mstylesheetattribute.cpp
index 04e19d43..ab5cf40d 100644
--- a/src/corelib/style/mstylesheetattribute.cpp
+++ b/src/corelib/style/mstylesheetattribute.cpp
@@ -677,6 +677,7 @@ bool MStyleSheetAttribute::writeAttribute(const QString &filename,
} else {
//no quotes, just split the parameters
list = value.split(' ');
+ list.removeAll("");
}
//no parameters