From: Thomas F. <tho...@ru...> - 2015-01-01 21:12:30
|
Git commit cbfdda9d928c24678dc38755f2e2606c5976e8f4 by Thomas Friedrichsmeier. Committed on 01/01/2015 at 19:15. Pushed by tfry into branch 'master'. Fix missing initialization M +4 -1 rkward/plugin/rkcomponentmeta.cpp http://commits.kde.org/rkward/cbfdda9d928c24678dc38755f2e2606c5976e8f4 diff --git a/rkward/plugin/rkcomponentmeta.cpp b/rkward/plugin/rkcomponentmeta.cpp index 6643154..167c912 100644 --- a/rkward/plugin/rkcomponentmeta.cpp +++ b/rkward/plugin/rkcomponentmeta.cpp @@ -34,7 +34,10 @@ QLatin1String any_max_version_tag ("max_version"); RKComponentAboutData::RKComponentAboutData (const QDomElement& e, XMLHelper &xml) { RK_TRACE (PLUGIN); - if (e.isNull ()) return; + if (e.isNull ()) { + valid = false; + return; + } valid = true; name = xml.i18nStringAttribute (e, "name", QString (), DL_INFO); |