From e6299a0c22d2b7f6570f973ab9974b5426308810 Mon Sep 17 00:00:00 2001 From: Camila Date: Mon, 20 Sep 2021 13:01:46 +0200 Subject: [PATCH] Address PR review comments. Signed-off-by: Camila --- src/gui/ocssharejob.cpp | 2 +- src/gui/sharelinkwidget.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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() {