Commit 9c317a1a authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Use new connect api

parent f9cb3754
......@@ -61,7 +61,7 @@ void TextBrowser::contextMenuEvent(QContextMenuEvent *event)
#ifndef QT_NO_CLIPBOARD
QMenu popup;
QAction *act = KStandardAction::copy(this, SLOT(copy()), this);
QAction *act = KStandardAction::copy(this, &TextBrowser::copy, this);
act->setEnabled(!textCursor().selectedText().isEmpty());
act->setShortcut(QKeySequence());
popup.addAction(act);
......
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