ActivityWidget: Make compile with Qt4

This commit is contained in:
Klaas Freitag 2015-11-17 18:07:26 +01:00
parent b37361e21c
commit f5da95a5b7

View file

@ -146,8 +146,8 @@ void ActivityListModel::startFetchJob(AccountState* s)
job->setProperty("AccountStatePtr", QVariant::fromValue<AccountState*>(s));
QList< QPair<QString,QString> > params;
params.append(qMakePair(QLatin1String("page"), QLatin1String("0")));
params.append(qMakePair(QLatin1String("pagesize"), QLatin1String("100")));
params.append(qMakePair(QString::fromLatin1("page"), QString::fromLatin1("0")));
params.append(qMakePair(QString::fromLatin1("pagesize"), QString::fromLatin1("100")));
job->addQueryParams(params);
_currentlyFetching.insert(s);