diff --git a/src/gui/ocssharejob.cpp b/src/gui/ocssharejob.cpp index 514d5d018e8c2..900074dbcc3c8 100644 --- a/src/gui/ocssharejob.cpp +++ b/src/gui/ocssharejob.cpp @@ -123,7 +123,7 @@ void OcsShareJob::setLabel(const QString &shareId, const QString &label) appendPath(shareId); setVerb("PUT"); - addParam(QString::fromLatin1("label"), label); + addParam(QStringLiteral("label"), label); _value = label; start(); diff --git a/src/gui/sharelinkwidget.cpp b/src/gui/sharelinkwidget.cpp index ab62d7e3bb1fa..844849dda2503 100644 --- a/src/gui/sharelinkwidget.cpp +++ b/src/gui/sharelinkwidget.cpp @@ -343,10 +343,10 @@ void ShareLinkWidget::setNote(const QString ¬e) } } -void ShareLinkWidget::slotCreateNote() +void ShareLinkWidget::slotCreateNote() { setNote(_ui->textEdit_note->toPlainText()); -} +} void ShareLinkWidget::slotNoteSet() {