-rw-r--r-- | kaddressbook/kabcore.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index b7edccd..f6bdda4 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp | |||
@@ -788,4 +788,5 @@ void KABCore::resizeEvent(QResizeEvent* e ) | |||
788 | if ( !mMiniSplitter ) | 788 | if ( !mMiniSplitter ) |
789 | return; | 789 | return; |
790 | //qDebug("KABCore::resizeEvent(QResizeEvent* e ) "); | ||
790 | if ( QApplication::desktop()->width() >= 480 ) { | 791 | if ( QApplication::desktop()->width() >= 480 ) { |
791 | if (QApplication::desktop()->width() == 640 ) { // e.g. 640x480 | 792 | if (QApplication::desktop()->width() == 640 ) { // e.g. 640x480 |
@@ -2193,9 +2194,11 @@ void KABCore::addActionsManually() | |||
2193 | mActionSave->plug( tb ); | 2194 | mActionSave->plug( tb ); |
2194 | mViewManager->getFilterAction()->plug ( tb); | 2195 | mViewManager->getFilterAction()->plug ( tb); |
2195 | if (KGlobal::getDesktopSize() == KGlobal::Desktop ) { | 2196 | //LR hide filteraction on started in 480x640 |
2197 | if (QApplication::desktop()->width() == 480 ) { | ||
2198 | mViewManager->getFilterAction()->setComboWidth( 0 ); | ||
2199 | } | ||
2196 | mActionUndo->plug( tb ); | 2200 | mActionUndo->plug( tb ); |
2197 | mActionDelete->plug( tb ); | 2201 | mActionDelete->plug( tb ); |
2198 | mActionRedo->plug( tb ); | 2202 | mActionRedo->plug( tb ); |
2199 | } | ||
2200 | } else { | 2203 | } else { |
2201 | mActionSave->plug( tb ); | 2204 | mActionSave->plug( tb ); |