Commit 34635bc9 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove duplicate code

parent fbad6a27
......@@ -89,7 +89,6 @@ SieveEditorWidget::SieveEditorWidget(bool useMenuBar, QWidget *parent)
overlays << QStringLiteral("list-add");
mUpload = new QAction(QIcon(new KIconEngine(QStringLiteral("get-hot-new-stuff"), KIconLoader::global(), overlays)), i18n("Share..."), this);
connect(mUpload, &QAction::triggered, this, &SieveEditorWidget::slotUploadScripts);
connect(mUpload, &QAction::triggered, this, &SieveEditorWidget::slotUploadScripts);
//Add action to toolBar
toolbar->addAction(mUpload);
......
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