This commit is contained in:
Jonathan White 2017-03-02 19:49:32 -05:00
parent 3139ae1528
commit e81564387c
No known key found for this signature in database
GPG Key ID: 440FC65F2E0C6E01
2 changed files with 5 additions and 6 deletions

View File

@ -49,6 +49,8 @@ EditWidgetIcons::EditWidgetIcons(QWidget* parent)
, m_customIconModel(new CustomIconModel(this))
#ifdef WITH_XC_HTTP
, m_httpClient(nullptr)
, m_fallbackToGoogle(true)
, m_redirectCount(0)
#endif
{
m_ui->setupUi(this);
@ -69,9 +71,6 @@ EditWidgetIcons::EditWidgetIcons(QWidget* parent)
connect(m_ui->faviconButton, SIGNAL(clicked()), SLOT(downloadFavicon()));
m_ui->faviconButton->setVisible(false);
m_fallbackToGoogle = true;
m_redirectCount = 0;
}
EditWidgetIcons::~EditWidgetIcons()

View File

@ -89,12 +89,12 @@ private:
Database* m_database;
Uuid m_currentUuid;
QString m_url;
QUrl m_redirectUrl;
bool m_fallbackToGoogle;
unsigned short m_redirectCount;
DefaultIconModel* const m_defaultIconModel;
CustomIconModel* const m_customIconModel;
#ifdef WITH_XC_HTTP
QUrl m_redirectUrl;
bool m_fallbackToGoogle;
unsigned short m_redirectCount;
qhttp::client::QHttpClient* m_httpClient;
#endif