summaryrefslogtreecommitdiff
authorwaspe <waspe>2003-11-27 17:01:30 (UTC)
committer waspe <waspe>2003-11-27 17:01:30 (UTC)
commitbca32c26da3baf0762be9b8b99c4fe0d4f3074f6 (patch) (unidiff)
treeca38f8d72ff9f44d995b5efa62c669c653cebcbd
parent015b7fb8b90089e762f0e15c0857d657b5b2092a (diff)
downloadopie-bca32c26da3baf0762be9b8b99c4fe0d4f3074f6.zip
opie-bca32c26da3baf0762be9b8b99c4fe0d4f3074f6.tar.gz
opie-bca32c26da3baf0762be9b8b99c4fe0d4f3074f6.tar.bz2
eliminated drawpad segfault
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/colorpopupmenu.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libopie/colorpopupmenu.cpp b/libopie/colorpopupmenu.cpp
index dac10e9..5a8d77e 100644
--- a/libopie/colorpopupmenu.cpp
+++ b/libopie/colorpopupmenu.cpp
@@ -136,11 +136,14 @@ OColorPopupMenu::OColorPopupMenu( const QColor& color, QWidget* parent, const ch
136 addColor(QColor(128, 0, 64), 4, 5); 136 addColor(QColor(128, 0, 64), 4, 5);
137 137
138 insertItem( colorPanel ); 138 insertItem( colorPanel );
139 insertSeparator(); 139 insertSeparator();
140 insertItem(tr("More"),this,SLOT( moreColorClicked()));
141 /*
140 QAction* chooseColorAction = new QAction( tr( "More" ), tr( "More..." ), 0, colorPanel, "More" ); 142 QAction* chooseColorAction = new QAction( tr( "More" ), tr( "More..." ), 0, colorPanel, "More" );
141 connect( chooseColorAction, SIGNAL( activated() ), this, SLOT( moreColorClicked() ) ); 143 connect( chooseColorAction, SIGNAL( activated() ), this, SLOT( moreColorClicked() ) );
142 chooseColorAction->addTo( this ); 144 chooseColorAction->addTo( this );
145 */
143 activateItemAt( 0 ); 146 activateItemAt( 0 );
144} 147}
145 148
146OColorPopupMenu::~OColorPopupMenu() 149OColorPopupMenu::~OColorPopupMenu()