From 8decf29df94ea8c2d8e4cf19b3f0c6c574ef472b Mon Sep 17 00:00:00 2001 From: Fabio D'Urso Date: Sat, 1 Dec 2012 01:16:59 +0100 Subject: [PATCH] Make "Reloading in progress" visible while the file is being reloaded --- part.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/part.cpp b/part.cpp index 41908ed9a..192212850 100644 --- a/part.cpp +++ b/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