forked from qt-creator/qt-creator
Fix initialization order, shuts up GCC.
This commit is contained in:
@@ -64,6 +64,7 @@ void RSSFetcher::readData(const QHttpResponseHeader &resp)
|
|||||||
|
|
||||||
void RSSFetcher::finished(int id, bool error)
|
void RSSFetcher::finished(int id, bool error)
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(id)
|
||||||
m_items = 0;
|
m_items = 0;
|
||||||
emit finished(error);
|
emit finished(error);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -64,8 +64,8 @@ private:
|
|||||||
|
|
||||||
QHttp m_http;
|
QHttp m_http;
|
||||||
int m_connectionId;
|
int m_connectionId;
|
||||||
int m_maxItems;
|
|
||||||
int m_items;
|
int m_items;
|
||||||
|
int m_maxItems;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Internal
|
} // namespace Internal
|
||||||
|
|||||||
Reference in New Issue
Block a user