summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2013-08-07 00:57:09 +0200
committerAndrea Diamantini <adjam7@gmail.com>2013-08-07 00:57:09 +0200
commit50baf7e925d09f6ea0011d6c571c06dd1e2b0c77 (patch)
treef2be45ea1013fe8b14c43b88c0e05d08225a6bde /src
parentChange Qt WebKit HTML5 default settings (diff)
downloadrekonq-50baf7e925d09f6ea0011d6c571c06dd1e2b0c77.tar.xz
Remove support for "unsupported" Google Reader. Bye bye ;)
Diffstat (limited to 'src')
-rw-r--r--src/urlbar/rsswidget.cpp22
-rw-r--r--src/urlbar/rsswidget.h2
2 files changed, 9 insertions, 15 deletions
diff --git a/src/urlbar/rsswidget.cpp b/src/urlbar/rsswidget.cpp
index aeed6218..0c38fc3d 100644
--- a/src/urlbar/rsswidget.cpp
+++ b/src/urlbar/rsswidget.cpp
@@ -28,12 +28,6 @@
#include "rsswidget.h"
#include "rsswidget.moc"
-// Local includes
-#include "application.h"
-#include "rekonqwindow.h"
-
-#include "iconmanager.h"
-
// KDE Includes
#include <KComboBox>
#include <KLocalizedString>
@@ -76,7 +70,7 @@ RSSWidget::RSSWidget(const QMap< KUrl, QString > &map, QWidget *parent)
m_agregators->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Fixed);
m_agregators->addItem(KIcon("akregator"), QString("Akregator"));
- m_agregators->addItem(IconManager::self()->iconForUrl(KUrl("http://google.com/reader")), i18n("Google Reader"));
+// m_agregators->addItem(IconManager::self()->iconForUrl(KUrl("http://google.com/reader")), i18n("Google Reader"));
layout->addRow(agregator, m_agregators);
@@ -123,18 +117,18 @@ void RSSWidget::accept()
if (m_agregators->currentIndex() == 0)
addWithAkregator(url);
- else
- addWithGoogleReader(url);
+// else
+// addWithGoogleReader(url);
close();
}
-void RSSWidget::addWithGoogleReader(const QString &url)
-{
- KUrl toLoad = KUrl("http://www.google.com/ig/add?feedurl=" + url);
- rApp->rekonqWindow()->loadUrl(toLoad);
-}
+// void RSSWidget::addWithGoogleReader(const QString &url)
+// {
+// KUrl toLoad = KUrl("http://www.google.com/ig/add?feedurl=" + url);
+// rApp->rekonqWindow()->loadUrl(toLoad);
+// }
void RSSWidget::addWithAkregator(const QString &url)
diff --git a/src/urlbar/rsswidget.h b/src/urlbar/rsswidget.h
index eaa3de7d..95eb4d8e 100644
--- a/src/urlbar/rsswidget.h
+++ b/src/urlbar/rsswidget.h
@@ -50,7 +50,7 @@ private Q_SLOTS:
private:
void addWithAkregator(const QString &url);
- void addWithGoogleReader(const QString &url);
+// void addWithGoogleReader(const QString &url);
QMap<KUrl, QString> m_map;