[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [okular] /: Make "Reloading in progress" visible while the file is being reloaded
From:       Fabio D'Urso <fabiodurso () hotmail ! it>
Date:       2012-12-01 0:17:04
Message-ID: 20121201001704.D76C4A6091 () git ! kde ! org
[Download RAW message or body]

Git commit 8decf29df94ea8c2d8e4cf19b3f0c6c574ef472b by Fabio D'Urso.
Committed on 01/12/2012 at 01:16.
Pushed by fabiod into branch 'master'.

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

M  +4    -0    part.cpp

http://commits.kde.org/okular/8decf29df94ea8c2d8e4cf19b3f0c6c574ef472b

diff --git a/part.cpp b/part.cpp
index 41908ed..1922128 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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic