summaryrefslogtreecommitdiff
path: root/libopie
authorwaspe <waspe>2003-11-27 17:01:30 (UTC)
committer waspe <waspe>2003-11-27 17:01:30 (UTC)
commitbca32c26da3baf0762be9b8b99c4fe0d4f3074f6 (patch) (side-by-side diff)
treeca38f8d72ff9f44d995b5efa62c669c653cebcbd /libopie
parent015b7fb8b90089e762f0e15c0857d657b5b2092a (diff)
downloadopie-bca32c26da3baf0762be9b8b99c4fe0d4f3074f6.zip
opie-bca32c26da3baf0762be9b8b99c4fe0d4f3074f6.tar.gz
opie-bca32c26da3baf0762be9b8b99c4fe0d4f3074f6.tar.bz2
eliminated drawpad segfault
Diffstat (limited to 'libopie') (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
@@ -134,15 +134,18 @@ OColorPopupMenu::OColorPopupMenu( const QColor& color, QWidget* parent, const ch
addColor(QColor(64, 0, 128), 4, 3);
addColor(QColor(128, 0, 128), 4, 4);
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()
{
}