aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-19 05:02:57 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-19 05:02:57 (GMT)
commit9c317a1af9a370dd83759e055228855dc1800f97 (patch)
treefb356c43bbb98a052d66b1913f935dbcd6a93a2b
parentf9cb37545d6f375a4ba3e150a7f82d49af21ca09 (diff)
Use new connect api
-rw-r--r--src/textbrowser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textbrowser.cpp b/src/textbrowser.cpp
index 42d6045..618fcbd 100644
--- a/src/textbrowser.cpp
+++ b/src/textbrowser.cpp
@@ -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);