mirror of
https://github.com/martinrotter/rssguard.git
synced 2024-12-28 00:50:26 +01:00
Fix leaks.
This commit is contained in:
parent
e7dda27501
commit
e4d893f230
@ -116,6 +116,7 @@ message(rssguard: Build revision: '$$APP_REVISION'.)
|
||||
|
||||
QT += core gui widgets sql network xml printsupport
|
||||
CONFIG *= c++11 debug_and_release warn_on
|
||||
DEFINES *= QT_USE_QSTRINGBUILDER QT_USE_FAST_CONCATENATION QT_USE_FAST_OPERATOR_PLUS
|
||||
|
||||
# Make needed tweaks for RC file getting generated on Windows.
|
||||
win32 {
|
||||
|
@ -129,7 +129,7 @@ QString NetworkFactory::networkErrorText(QNetworkReply::NetworkError error_code)
|
||||
}
|
||||
|
||||
QNetworkReply::NetworkError NetworkFactory::downloadIcon(const QList<QString> &urls, int timeout, QIcon &output) {
|
||||
QNetworkReply::NetworkError network_result;
|
||||
QNetworkReply::NetworkError network_result = QNetworkReply::UnknownNetworkError;
|
||||
|
||||
foreach (const QString &url, urls) {
|
||||
const QString google_s2_with_url = QString("http://www.google.com/s2/favicons?domain=%1").arg(url.toHtmlEscaped());
|
||||
|
Loading…
Reference in New Issue
Block a user