[rkward-cvs] [rkward] rkward/plugin: Fix missing initialization
Thomas Friedrichsmeier
thomas.friedrichsmeier at ruhr-uni-bochum.de
Thu Jan 1 21:12:13 UTC 2015
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);
More information about the rkward-tracker
mailing list