Commit 841b6f6e authored by David Faure's avatar David Faure

Fix compilation error "qobject.h:300:9: error: static assertion failed: Signal...

Fix compilation error "qobject.h:300:9: error: static assertion failed: Signal and slot arguments are not compatible."
parent 7ec988d1
......@@ -180,7 +180,7 @@ void WorksheetTextItem::populateMenu(QMenu *menu, const QPointF& pos)
QKeyEvent* WorksheetTextItem::eventForStandardAction(KStandardAction::StandardAction actionID)
{
// there must be a better way to get the shortcut...
QAction * action = KStandardAction::create(actionID, this, 0, this);
QAction * action = KStandardAction::create(actionID, this, SLOT(copy()), this);
QKeySequence keySeq = action->shortcut();
// we do not support key sequences with multiple keys here
int code = keySeq[0];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment