Commit 43004318 authored by Méven Car's avatar Méven Car
Browse files

Add clipboard icon to copy to clipboard toolbutton

parent 318b6500
......@@ -223,7 +223,7 @@ void KSMainWindow::init()
mClipboardImageAction = KStandardAction::copy(this, &KSMainWindow::copyImage, this);
mClipboardImageAction->setText(i18n("Copy Image to Clipboard"));
mClipboardLocationAction = new QAction(
QIcon::fromTheme(QStringLiteral("clipboard")),
QIcon::fromTheme(QStringLiteral("edit-copy")),
i18n("Copy Location to Clipboard"), this);
connect(mClipboardLocationAction, &QAction::triggered, this, &KSMainWindow::copyLocation);
mClipboardMenu->addAction(mClipboardImageAction);
......
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