1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-03-21 13:28:58 +01:00

Update the RSS feed URL, will only shown when new site is live.

Add reviews site to the list of sites.
This commit is contained in:
dankers 2011-05-06 14:34:18 +10:00
parent 6845a77571
commit db0f7c39c3

View File

@ -52,14 +52,15 @@ CommunityWelcomePageWidget::CommunityWelcomePageWidget(QWidget *parent) :
connect(m_rssFetcher, SIGNAL(newsItemReady(QString, QString, QString)),
ui->newsTreeWidget, SLOT(slotAddNewsItem(QString, QString, QString)));
//: Add localized feed here only if one exists
m_rssFetcher->fetch(QUrl(tr("http://newwww.openpilot.org/rss.xml")));
m_rssFetcher->fetch(QUrl(tr("http://www.openpilot.org/feed/")));
QList<QPair<QString, QString> > sites;
sites << qMakePair(tr("OpenPilot Home"), QString(QLatin1String("http://www.openpilot.org")));
sites << qMakePair(tr("OpenPilot Wiki"), QString(QLatin1String("http://wiki.openpilot.org")));
sites << qMakePair(tr("OpenPilot Store"), QString(QLatin1String("http://www.openpilot.org/store")));
sites << qMakePair(tr("OpenPilot Store"), QString(QLatin1String("http://www.openpilot.org/hardware/get-hardware/")));
sites << qMakePair(tr("OpenPilot Forums"), QString(QLatin1String("http://forums.openpilot.org")));
sites << qMakePair(tr("OpenPilot Progress Tracker"), QString(QLatin1String("http://progress.openpilot.org")));
sites << qMakePair(tr("OpenPilot Code Reviews"), QString(QLatin1String("http://git.openpilot.org")));
sites << qMakePair(tr("OpenPilot Progress Tracker"), QString(QLatin1String("http://progress.openpilot.org")));
QListIterator<QPair<QString, QString> > it(sites);
while (it.hasNext()) {