Remove the "Show Search Bar" option, mostly unuseful.

svn path=/trunk/KDE/kdegraphics/okular/; revision=709361
This commit is contained in:
Pino Toscano 2007-09-07 10:31:33 +00:00
parent 962a134d2b
commit 0517d30bfc
3 changed files with 2 additions and 19 deletions

View file

@ -5,8 +5,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>282</width>
<height>387</height>
<width>287</width>
<height>361</height>
</rect>
</property>
<layout class="QVBoxLayout" >
@ -67,16 +67,6 @@
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="kcfg_ShowSearchBar" >
<property name="enabled" >
<bool>true</bool>
</property>
<property name="text" >
<string>Show &amp;search bar in thumbnails list</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="kcfg_SyncThumbnailsViewport" >
<property name="enabled" >

View file

@ -169,9 +169,6 @@
<entry key="FilterBookmarks" type="Bool" >
<default>false</default>
</entry>
<entry key="ShowSearchBar" type="Bool" >
<default>true</default>
</entry>
<entry key="SyncThumbnailsViewport" type="Bool" >
<default>true</default>
</entry>

View file

@ -1246,10 +1246,6 @@ void Part::slotNewConfig()
m_watcher->stopScan();
}
bool showSearch = Okular::Settings::showSearchBar();
if ( !m_searchWidget->isHidden() != showSearch )
m_searchWidget->setVisible( showSearch );
// Main View (pageView)
m_pageView->reparseConfig();