-rw-r--r-- | core/launcher/launcherview.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/launcher/launcherview.cpp b/core/launcher/launcherview.cpp index 71e8753..e86f389 100644 --- a/core/launcher/launcherview.cpp +++ b/core/launcher/launcherview.cpp | |||
@@ -929,26 +929,28 @@ void LauncherView::setViewFont( const QFont &f ) | |||
929 | icons->setFont( f ); | 929 | icons->setFont( f ); |
930 | icons->hideOrShowItems( FALSE ); | 930 | icons->hideOrShowItems( FALSE ); |
931 | } | 931 | } |
932 | 932 | ||
933 | void LauncherView::clearViewFont() | 933 | void LauncherView::clearViewFont() |
934 | { | 934 | { |
935 | icons->unsetFont(); | 935 | icons->unsetFont(); |
936 | icons->hideOrShowItems( FALSE ); | 936 | icons->hideOrShowItems( FALSE ); |
937 | } | 937 | } |
938 | 938 | ||
939 | void LauncherView::resizeEvent(QResizeEvent *e) | 939 | void LauncherView::resizeEvent(QResizeEvent *e) |
940 | { | 940 | { |
941 | //qDebug("LauncherView resize event"); | ||
941 | QVBox::resizeEvent( e ); | 942 | QVBox::resizeEvent( e ); |
942 | if ( e->size().width() != e->oldSize().width() ) | 943 | // commented out for launcherview and qt/e 2.3.8 problems, probably needs real fixing somewhere... |
944 | // if ( e->size().width() != e->oldSize().width() ) | ||
943 | sort(); | 945 | sort(); |
944 | } | 946 | } |
945 | 947 | ||
946 | void LauncherView::selectionChanged() | 948 | void LauncherView::selectionChanged() |
947 | { | 949 | { |
948 | QIconViewItem* item = icons->currentItem(); | 950 | QIconViewItem* item = icons->currentItem(); |
949 | if ( item && item->isSelected() ) { | 951 | if ( item && item->isSelected() ) { |
950 | AppLnk *appLnk = ((LauncherItem *)item)->appLnk(); | 952 | AppLnk *appLnk = ((LauncherItem *)item)->appLnk(); |
951 | if ( icons->inKeyEvent() ) // not for mouse press | 953 | if ( icons->inKeyEvent() ) // not for mouse press |
952 | emit clicked( appLnk ); | 954 | emit clicked( appLnk ); |
953 | item->setSelected(FALSE); | 955 | item->setSelected(FALSE); |
954 | } | 956 | } |