From 22db020315032d2aa76171a355a9f11c1b0923cc Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Tue, 12 Oct 2010 11:02:09 +0000 Subject: [PATCH] start with groups not collapsed by default svn path=/trunk/KDE/kdelibs/; revision=1185145 --- extenders/extendergroup.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extenders/extendergroup.cpp b/extenders/extendergroup.cpp index 983273cb9..c22e78961 100644 --- a/extenders/extendergroup.cpp +++ b/extenders/extendergroup.cpp @@ -61,13 +61,13 @@ ExtenderGroup::ExtenderGroup(Extender *parent, uint groupId) lay->addItem(d->childsWidget); QAction *expand = new QAction(this); - expand->setVisible(true); + expand->setVisible(false); expand->setToolTip(i18n("Show this group.")); connect(expand, SIGNAL(triggered()), this, SLOT(expandGroup())); addAction("expand", expand); QAction *collapse = new QAction(this); - collapse->setVisible(false); + collapse->setVisible(true); collapse->setToolTip(i18n("Hide this group.")); connect(collapse, SIGNAL(triggered()), this, SLOT(collapseGroup())); addAction("collapse", collapse); @@ -292,7 +292,7 @@ ExtenderGroupPrivate::ExtenderGroupPrivate(ExtenderGroup *group) : q(group), spacerWidget(0), svg(new Svg(group)), - collapsed(true), + collapsed(false), autoHide(true), autoCollapse(false) {