show auth errors.

This commit is contained in:
Martin Rotter 2017-10-09 06:40:05 +02:00
parent 8540f6977a
commit e95219e965
2 changed files with 1 additions and 2 deletions

View File

@ -88,6 +88,7 @@ QVariant Feed::data(int column, int role) const {
case NetworkError:
case ParsingError:
case AuthError:
case OtherError:
return QColor(Qt::red);

View File

@ -163,8 +163,6 @@ void InoreaderNetworkFactory::markMessagesRead(RootItem::ReadStatus status, cons
target_url += QString("?r=user/-/") + INOREADER_STATE_READ + "&";
}
Downloader downloader;
QEventLoop loop;
QString bearer = m_oauth2->bearer().toLocal8Bit();
if (bearer.isEmpty()) {