Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 182030 Details for
Bug 258758
qt-4.5_rc1 breaks lancelot
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Second patch for lancelot ( from upstream )
PassagewayView_cpp.patch (text/plain), 2.41 KB, created by
Markos Chandras (RETIRED)
on 2009-02-14 17:52:55 UTC
(
hide
)
Description:
Second patch for lancelot ( from upstream )
Filename:
MIME Type:
Creator:
Markos Chandras (RETIRED)
Created:
2009-02-14 17:52:55 UTC
Size:
2.41 KB
patch
obsolete
>--- applets/lancelot/libs/lancelot/widgets/PassagewayView.cpp 2009/02/08 11:11:33 923119 >+++ applets/lancelot/libs/lancelot/widgets/PassagewayView.cpp 2009/02/14 16:53:45 926094 >@@ -23,6 +23,7 @@ > #include <QGraphicsSceneMouseEvent> > #include <QGraphicsView> > #include <QApplication> >+#include <climits> > > namespace Lancelot { > >@@ -68,12 +69,16 @@ > : layout(NULL), buttonsLayout(NULL), listsLayout(NULL), parent(p), focusIndex(0) > { > parent->setLayout(layout = new NodeLayout()); >+ layout->setSizePolicy(QSizePolicy(QSizePolicy::Expanding,QSizePolicy::Expanding)); >+ layout->setMaximumSize(INT_MAX, INT_MAX); > > layout->addItem( > buttonsLayout = new QGraphicsLinearLayout(Qt::Horizontal), > NodeLayout::NodeCoordinate(0, 0, 0, 0), > NodeLayout::NodeCoordinate(1, 0, 0, 32) > ); >+ buttonsLayout->setSizePolicy(QSizePolicy(QSizePolicy::Expanding,QSizePolicy::Expanding)); >+ buttonsLayout->setMaximumSize(INT_MAX, INT_MAX); > > ExtenderButton * spacer = > new ExtenderButton(parent); >@@ -90,6 +95,8 @@ > ); > > listsLayout->setSizer(new PassagewayViewSizer()); >+ listsLayout->setSizePolicy(QSizePolicy(QSizePolicy::Expanding,QSizePolicy::Expanding)); >+ listsLayout->setMaximumSize(INT_MAX, INT_MAX); > > buttonsLayout->setSpacing(0.0); > >@@ -164,7 +171,10 @@ > path.takeLast(); > > buttonsLayout->removeItem(button); >- layout->activate(); >+ >+ // This really shouldn't be needed :( >+ buttonsLayout->setGeometry(buttonsLayout->geometry()); >+ > listsLayout->pop(); > > button->deleteLater(); >@@ -199,19 +209,19 @@ > list->setCategoriesGroupByName("ActionListView-CategoriesPass"); > list->setCategoriesActivable(true); > >- // if (lists.count() > 0) { >- // lists.last()->clearSelection(); >- // } >- > focusIndex = lists.count(); > lists.append(list); > >- // list->initialSelection(); > path.append(step); > > buttonsLayout->addItem(button); > listsLayout->push(list); > >+ // This really shouldn't be needed :( >+ buttonsLayout->setGeometry(buttonsLayout->geometry()); >+ listsLayout->setGeometry(listsLayout->geometry()); >+ >+ > QObject::connect( > list, SIGNAL(activated(int)), > parent, SLOT(listItemActivated(int))
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 258758
:
182028
| 182030 |
182062
|
182067
|
182135