diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-03-21 01:35:47 +0100 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2022-03-21 01:35:47 +0100 |
commit | 830f4d4942da1f2e246ccf748676fb3c6ce8ecb2 (patch) | |
tree | ae0588c4556873bad025c194114b915a7c47fa7c | |
parent | Also stop audio player (diff) | |
download | nheko-830f4d4942da1f2e246ccf748676fb3c6ce8ecb2.tar.xz |
Please clazy
-rw-r--r-- | src/timeline/InputBar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp index a2228541..aa470989 100644 --- a/src/timeline/InputBar.cpp +++ b/src/timeline/InputBar.cpp @@ -824,14 +824,14 @@ MediaUpload::MediaUpload(std::unique_ptr<QIODevice> source_, connect(mediaPlayer, qOverload<QMediaPlayer::Error>(&QMediaPlayer::error), this, - [this, mediaPlayer](QMediaPlayer::Error error) { + [mediaPlayer](QMediaPlayer::Error error) { nhlog::ui()->debug("Media player error {} and errorStr {}", error, mediaPlayer->errorString().toStdString()); }); connect(mediaPlayer, &QMediaPlayer::mediaStatusChanged, - [this, mediaPlayer](QMediaPlayer::MediaStatus status) { + [mediaPlayer](QMediaPlayer::MediaStatus status) { nhlog::ui()->debug( "Media player status {} and error {}", status, mediaPlayer->error()); }); @@ -1013,7 +1013,7 @@ InputBar::startUploadFromMimeData(const QMimeData &source, const QString &format return; } - startUpload(std::move(file), QStringLiteral(""), format); + startUpload(std::move(file), {}, format); } void InputBar::startUpload(std::unique_ptr<QIODevice> dev, const QString &orgPath, const QString &format) |