diff options
author | Loren Burkholder <55629213+LorenDB@users.noreply.github.com> | 2022-10-03 17:57:30 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-03 21:57:30 +0000 |
commit | 8ecbb39dc6303fcf3ae36ad033d7e90ea29b9003 (patch) | |
tree | ccbf44824e2a038254ce77ae3890d2d6d86b0a94 /src/timeline/InputBar.h | |
parent | Merge pull request #1202 from Nheko-Reborn/grammar (diff) | |
download | nheko-8ecbb39dc6303fcf3ae36ad033d7e90ea29b9003.tar.xz |
cppcheck stuff (#1200)
* cppcheck stuff * Update src/ui/RoomSettings.cpp Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de> * Update src/ui/RoomSettings.cpp Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de> * Fix linting Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
Diffstat (limited to 'src/timeline/InputBar.h')
-rw-r--r-- | src/timeline/InputBar.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/timeline/InputBar.h b/src/timeline/InputBar.h index d130fb8b..066074f7 100644 --- a/src/timeline/InputBar.h +++ b/src/timeline/InputBar.h @@ -83,8 +83,8 @@ public: Q_ENUM(MediaType) explicit MediaUpload(std::unique_ptr<QIODevice> data, - QString mimetype, - QString originalFilename, + const QString &mimetype, + const QString &originalFilename, bool encrypt, QObject *parent = nullptr); @@ -218,7 +218,7 @@ private slots: void startTyping(); void stopTyping(); - void finalizeUpload(MediaUpload *upload, QString url); + void finalizeUpload(MediaUpload *upload, const QString &url); void removeRunUpload(MediaUpload *upload); signals: |