Make "Reloading in progress" visible while the file is being reloaded

remotes/origin/KDE/4.10
Fabio D'Urso 13 years ago
parent a0135a3c8e
commit 8decf29df9
  1. 4
      part.cpp

@ -1566,6 +1566,7 @@ void Part::slotDoFileDirty()
m_dirtyPageRotation = m_document->rotation();
// inform the user about the operation in progress
// TODO: Remove this line and integrate reload info in queryClose
m_pageView->displayMessage( i18n("Reloading the document...") );
}
@ -1573,6 +1574,9 @@ void Part::slotDoFileDirty()
if ( !closeUrl() )
return;
// inform the user about the operation in progress
m_pageView->displayMessage( i18n("Reloading the document...") );
if ( KParts::ReadWritePart::openUrl( m_oldUrl ) )
{
// on successful opening, restore the previous viewport

Loading…
Cancel
Save