diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2017-08-23 00:38:57 +0300 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2017-08-23 00:38:57 +0300 |
commit | b3781cf063e534b50b393dc9908900bcde78912c (patch) | |
tree | 652e1a08012c49ce7413b4220bde0d10b0889833 /plugins/Quotes/src/QuotesProviderYahoo.cpp | |
parent | bf9981cdfdaf818530c180d6975e0f6a53dcc944 (diff) |
Quotes: hidden setting and not used icon removed (fixes #292)
Diffstat (limited to 'plugins/Quotes/src/QuotesProviderYahoo.cpp')
-rw-r--r-- | plugins/Quotes/src/QuotesProviderYahoo.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/Quotes/src/QuotesProviderYahoo.cpp b/plugins/Quotes/src/QuotesProviderYahoo.cpp index 4950acd78c..c08a7c1ce8 100644 --- a/plugins/Quotes/src/QuotesProviderYahoo.cpp +++ b/plugins/Quotes/src/QuotesProviderYahoo.cpp @@ -50,7 +50,6 @@ bool get_double_from_parsed_line(MCONTACT hContact, const TStrings& rasParsedLin void CQuotesProviderYahoo::RefreshQuotes(TContracts& anContacts)
{
tstring sURL = GetURL();
- bool bUseExtendedStatus = CModuleInfo::GetInstance().GetExtendedStatusFlag();
typedef std::map<tstring, MCONTACT> TQuoteID2ContractHandles;
TQuoteID2ContractHandles aQuoteID2Handles;
@@ -58,8 +57,6 @@ void CQuotesProviderYahoo::RefreshQuotes(TContracts& anContacts) oURL << sURL << L"dioksin.txt?s=";
for (TContracts::const_iterator i = anContacts.begin(); i != anContacts.end() && IsOnline(); ++i) {
MCONTACT hContact = *i;
- if (bUseExtendedStatus)
- SetContactStatus(hContact, ID_STATUS_OCCUPIED);
tstring sQuoteID = Quotes_DBGetStringT(hContact, QUOTES_MODULE_NAME, DB_STR_QUOTE_ID);
aQuoteID2Handles[sQuoteID] = hContact;
|