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

List:       kde-commits
Subject:    [okular] /: Added comment about the previous patch
From:       Fabio D'Urso <fabiodurso () hotmail ! it>
Date:       2013-09-30 21:23:13
Message-ID: E1VQkvx-000488-N2 () scm ! kde ! org
[Download RAW message or body]

Git commit 358fc7568d298e1f5bf3141d49650018eee37eca by Fabio D'Urso.
Committed on 30/09/2013 at 21:17.
Pushed by fabiod into branch 'master'.

Added comment about the previous patch

M  +2    -0    part.cpp

http://commits.kde.org/okular/358fc7568d298e1f5bf3141d49650018eee37eca

diff --git a/part.cpp b/part.cpp
index 301d23e..6951947 100644
--- a/part.cpp
+++ b/part.cpp
@@ -1775,6 +1775,8 @@ void Part::updateBookmarksActions()
 void Part::enableTOC(bool enable)
 {
     m_sidebar->setItemEnabled(0, enable);
+
+    // If present, show the TOC when a document is opened
     if ( enable )
     {
         m_sidebar->setCurrentIndex( 0 );
[prev in list] [next in list] [prev in thread] [next in thread] 

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