Diffstat (limited to 'core/launcher/launcherview.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/launcher/launcherview.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/launcher/launcherview.cpp b/core/launcher/launcherview.cpp index e86f389..0d0f2cb 100644 --- a/core/launcher/launcherview.cpp +++ b/core/launcher/launcherview.cpp | |||
@@ -649,26 +649,24 @@ void LauncherView::setToolsEnabled(bool y) | |||
649 | tools = new QHBox(this); | 649 | tools = new QHBox(this); |
650 | 650 | ||
651 | // Type filter | 651 | // Type filter |
652 | typemb = new QComboBox(tools); | 652 | typemb = new QComboBox(tools); |
653 | QSizePolicy p = typemb->sizePolicy(); | 653 | QSizePolicy p = typemb->sizePolicy(); |
654 | p.setHorData(QSizePolicy::Expanding); | 654 | p.setHorData(QSizePolicy::Expanding); |
655 | typemb->setSizePolicy(p); | 655 | typemb->setSizePolicy(p); |
656 | 656 | ||
657 | // Category filter | 657 | // Category filter |
658 | updateTools(); | 658 | updateTools(); |
659 | tools->show(); | 659 | tools->show(); |
660 | 660 | ||
661 | // Always show vscrollbar | ||
662 | icons->setVScrollBarMode( QScrollView::AlwaysOn ); | ||
663 | } else { | 661 | } else { |
664 | delete tools; | 662 | delete tools; |
665 | tools = 0; | 663 | tools = 0; |
666 | } | 664 | } |
667 | } | 665 | } |
668 | } | 666 | } |
669 | 667 | ||
670 | void LauncherView::updateTools() | 668 | void LauncherView::updateTools() |
671 | { | 669 | { |
672 | disconnect( typemb, SIGNAL(activated(int)), | 670 | disconnect( typemb, SIGNAL(activated(int)), |
673 | this, SLOT(showType(int)) ); | 671 | this, SLOT(showType(int)) ); |
674 | if ( catmb ) disconnect( catmb, SIGNAL(signalSelected(int)), | 672 | if ( catmb ) disconnect( catmb, SIGNAL(signalSelected(int)), |