projects
/
evehomescreen
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ebcbbd
)
Parse skillInTraining element
author
jasu
<jasu@skeletor.(none)>
Mon, 10 May 2010 22:35:54 +0000
(
01:35
+0300)
committer
jasu
<jasu@skeletor.(none)>
Mon, 10 May 2010 22:35:54 +0000
(
01:35
+0300)
src/eveskilltraining.cpp
patch
|
blob
|
history
diff --git
a/src/eveskilltraining.cpp
b/src/eveskilltraining.cpp
index
eaa061c
..
29f936c
100644
(file)
--- a/
src/eveskilltraining.cpp
+++ b/
src/eveskilltraining.cpp
@@
-55,6
+55,10
@@
bool EveSkillTraining::fromXml(QXmlStreamReader &xml)
} else if (xml.name() == "trainingToLevel"){
level = xml.readElementText().toInt();
+ } else if (xml.name() == "skillInTraining" ) {
+
+ training = xml.readElementText().toInt() == 1;
+ qDebug() << "Training?" << training;
} else
// Noop
xml.skipCurrentElement();