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

List:       kde-commits
Subject:    KDE/kdegraphics/kpdf
From:       Albert Astals Cid <tsdgeos () terra ! es>
Date:       2006-05-14 16:29:26
Message-ID: 1147624166.205028.13954.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 540807 by aacid:

port r540804 


 M  +3 -3      part.cpp  


--- trunk/KDE/kdegraphics/kpdf/part.cpp #540806:540807
@@ -644,7 +644,7 @@
 
 void Part::slotPreviousPage()
 {
-    if ( m_document->isOpened() && !m_document->currentPage() < 1 )
+    if ( m_document->isOpened() && !(m_document->currentPage() < 1) )
         m_document->setViewportPage( m_document->currentPage() - 1 );
 }
 
@@ -752,8 +752,8 @@
     }
 
     bool showSearch = KpdfSettings::showSearchBar();
-    if ( m_searchWidget->isShown() != showSearch )
-        m_searchWidget->setShown( showSearch );
+    if ( !m_searchWidget->isHidden() != showSearch )
+        m_searchWidget->setVisible( showSearch );
 
     // Main View (pageView)
     Q3ScrollView::ScrollBarMode scrollBarMode = KpdfSettings::showScrollBars() ?
[prev in list] [next in list] [prev in thread] [next in thread] 

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