author | waspe <waspe> | 2003-11-27 17:01:30 (UTC) |
---|---|---|
committer | waspe <waspe> | 2003-11-27 17:01:30 (UTC) |
commit | bca32c26da3baf0762be9b8b99c4fe0d4f3074f6 (patch) (side-by-side diff) | |
tree | ca38f8d72ff9f44d995b5efa62c669c653cebcbd | |
parent | 015b7fb8b90089e762f0e15c0857d657b5b2092a (diff) | |
download | opie-bca32c26da3baf0762be9b8b99c4fe0d4f3074f6.zip opie-bca32c26da3baf0762be9b8b99c4fe0d4f3074f6.tar.gz opie-bca32c26da3baf0762be9b8b99c4fe0d4f3074f6.tar.bz2 |
eliminated drawpad segfault
-rw-r--r-- | libopie/colorpopupmenu.cpp | 3 |
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 addColor(QColor(128, 0, 64), 4, 5); insertItem( colorPanel ); insertSeparator(); + insertItem(tr("More"),this,SLOT( moreColorClicked())); + /* QAction* chooseColorAction = new QAction( tr( "More" ), tr( "More..." ), 0, colorPanel, "More" ); connect( chooseColorAction, SIGNAL( activated() ), this, SLOT( moreColorClicked() ) ); chooseColorAction->addTo( this ); + */ activateItemAt( 0 ); } OColorPopupMenu::~OColorPopupMenu() |