welcome screen: improve aldgnment, extend getting started section.

Introduce integrated 'Did you know' section, prevent scrollbars.
This commit is contained in:
Daniel Molkentin
2009-05-12 19:47:54 +02:00
parent 5123f48b0a
commit c111e2b10f
4 changed files with 717 additions and 764 deletions

View File

@@ -74,18 +74,17 @@ void RSSFetcher::parseXml()
while (!m_xml.atEnd()) {
m_xml.readNext();
if (m_xml.isStartElement()) {
if (m_xml.name() == "item")
m_linkString = m_xml.attributes().value("rss:about").toString();
if (m_xml.name() == "item") {
m_titleString.clear();
m_linkString.clear();
}
m_currentTag = m_xml.name().toString();
} else if (m_xml.isEndElement()) {
if (m_xml.name() == "item") {
m_items++;
if (m_items > m_maxItems)
return;
emit newsItemReady(m_titleString, m_linkString);
m_titleString.clear();
m_linkString.clear();
}
} else if (m_xml.isCharacters() && !m_xml.isWhitespace()) {