mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-23 10:22:52 +00:00
gwenview: partially revert 6260843dde
because MessageViewAdapter does not handle rich text Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
677eeea1ae
commit
c361c2533e
1 changed files with 1 additions and 1 deletions
|
@ -445,7 +445,7 @@ void DocumentView::slotLoadingFailed()
|
||||||
d->hideLoadingIndicator();
|
d->hideLoadingIndicator();
|
||||||
MessageViewAdapter* adapter = new MessageViewAdapter();
|
MessageViewAdapter* adapter = new MessageViewAdapter();
|
||||||
adapter->setDocument(d->mDocument);
|
adapter->setDocument(d->mDocument);
|
||||||
QString message = i18n("Loading <tt>%1</tt> failed", d->mDocument->url().fileName());
|
QString message = i18n("Loading <filename>%1</filename> failed", d->mDocument->url().fileName());
|
||||||
adapter->setErrorMessage(message, d->mDocument->errorString());
|
adapter->setErrorMessage(message, d->mDocument->errorString());
|
||||||
d->setCurrentAdapter(adapter);
|
d->setCurrentAdapter(adapter);
|
||||||
d->updateCaption();
|
d->updateCaption();
|
||||||
|
|
Loading…
Add table
Reference in a new issue