Commit 51c2a7ec authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

USe new connect api

parent 5a9b8c55
......@@ -126,7 +126,7 @@ void MailSourceViewTextBrowser::contextMenuEvent(QContextMenuEvent *event)
QMenu *popup = createStandardContextMenu();
if (popup) {
popup->addAction(KStandardAction::find(this, SIGNAL(findText()), this));
popup->addAction(KStandardAction::find(this, &MailSourceViewTextBrowser::findText, this));
//Code from KTextBrowser
KIconTheme::assignIconsToContextMenu(isReadOnly() ? KIconTheme::ReadOnlyText
: KIconTheme::TextEditor,
Supports Markdown
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