drop pornography with requests

Actually it has been introduced as temporary solution but I totally
forgot about it
This commit is contained in:
2016-04-10 00:22:12 +03:00
parent 15abe54290
commit 354fd3cd0c
4 changed files with 47 additions and 46 deletions

View File

@ -22,11 +22,9 @@
#include "abstractextitem.h"
#define YAHOO_QUOTES_URL \
"https://query.yahooapis.com/v1/public/yql?q=select * from " \
"yahoo.finance.quotes where " \
"symbol=\"%1\"&env=store://datatables.org/" \
"alltableswithkeys&format=json"
#define YAHOO_QUOTES_URL "https://query.yahooapis.com/v1/public/yql"
#define YAHOO_QUOTES_QUERY \
"select * from yahoo.finance.quotes where symbol='%1'"
namespace Ui
@ -61,11 +59,11 @@ private slots:
void quotesReplyReceived(QNetworkReply *reply);
private:
QNetworkAccessManager *manager;
QNetworkAccessManager *m_manager;
QUrl m_url;
bool isRunning = false;
Ui::ExtQuotes *ui;
void translate();
QString url() const;
// properties
QString m_ticker = QString("EURUSD=X");
// values