Commit 5328082f authored by Laurent Montel's avatar Laurent Montel 😁

Rename method as requested by David

parent 6ed0d76e
......@@ -1720,7 +1720,7 @@ void ViewerPrivate::createActions()
mDisableEmoticonAction = new KToggleAction(i18n("Disable Emoticon"), this);
ac->addAction(QStringLiteral("disable_emoticon"), mDisableEmoticonAction);
connect(mDisableEmoticonAction, &QAction::triggered, this, &ViewerPrivate::slotDisableEmoticon);
connect(mDisableEmoticonAction, &QAction::triggered, this, &ViewerPrivate::slotToggleEmoticons);
ac->setDefaultShortcut(mFindInMessageAction, KStandardShortcut::find().first());
}
......@@ -3137,7 +3137,7 @@ void ViewerPrivate::setPrintElementBackground(bool printElementBackground)
mViewer->setPrintElementBackground(printElementBackground);
}
void ViewerPrivate::slotDisableEmoticon()
void ViewerPrivate::slotToggleEmoticons()
{
mForceEmoticons = !mForceEmoticons;
update(MimeTreeParser::Force);
......
......@@ -474,7 +474,7 @@ private Q_SLOTS:
void slotExportHtmlPageSuccess(const QString &filename);
void slotHandlePagePrinted(bool result);
void slotLoadStarted();
void slotDisableEmoticon();
void slotToggleEmoticons();
void slotCheckUrl(WebEngineViewer::CheckPhishingUrlJob::UrlStatus status, const QUrl &url, const Akonadi::Item &item);
public Q_SLOTS:
/** An URL has been activate with a click. */
......
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