-rw-r--r-- | kaddressbook/kabcore.cpp | 6 | ||||
-rw-r--r-- | kaddressbook/viewmanager.cpp | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index 638abc9..5ebd3a4 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp @@ -1935,6 +1935,7 @@ void KABCore::addActionsManually() KToolBar* tb = mMainWindow->toolBar(); - +#ifndef DESKTOP_VERSION if ( KABPrefs::instance()->mFullMenuBarVisible ) { +#endif QMenuBar* mb = mMainWindow->menuBar(); @@ -1950,5 +1951,5 @@ void KABCore::addActionsManually() mIncSearchWidget = new IncSearchWidget( tb ); // tb->insertWidget(-1, 0, mIncSearchWidget); - +#ifndef DESKTOP_VERSION } else { //US setup toolbar @@ -1972,4 +1973,5 @@ void KABCore::addActionsManually() } } +#endif // mActionQuit->plug ( mMainWindow->toolBar()); diff --git a/kaddressbook/viewmanager.cpp b/kaddressbook/viewmanager.cpp index 3d0c275..0d91c12 100644 --- a/kaddressbook/viewmanager.cpp +++ b/kaddressbook/viewmanager.cpp @@ -107,5 +107,5 @@ void ViewManager::restoreSettings() mActionSelectFilter->setItems( filterNames() ); mActionSelectFilter->setCurrentItem( KABPrefs::instance()->mCurrentFilter ); - mActionSelectFilter->setComboWidth( 100 ); + mActionSelectFilter->setComboWidth( 150 ); // Tell the views to reread their config, since they may have // been modified by global settings @@ -598,5 +598,5 @@ void ViewManager::configureFilters() mActionSelectFilter->setCurrentItem( pos ); setActiveFilter( pos ); - //mActionSelectFilter->setComboWidth( 150 ); + mActionSelectFilter->setComboWidth( 150 ); } |