summary refs log tree commit diff
path: root/src/timeline/InputBar.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-06-28 13:16:10 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2023-06-28 13:16:10 +0200
commite89e65dc17020772eb057414b4f0c5d6f4ad98d0 (patch)
tree2ab2c444a5298af2567952f4053724ad758c179b /src/timeline/InputBar.cpp
parentAllow viewing and changing the history visibility (diff)
downloadnheko-e89e65dc17020772eb057414b4f0c5d6f4ad98d0.tar.xz
Fix build against fmt10
fixes #1499
Diffstat (limited to 'src/timeline/InputBar.cpp')
-rw-r--r--src/timeline/InputBar.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp

index 2f3b6eae..a59bc4c6 100644 --- a/src/timeline/InputBar.cpp +++ b/src/timeline/InputBar.cpp
@@ -1041,14 +1041,16 @@ MediaUpload::MediaUpload(std::unique_ptr<QIODevice> source_, &QMediaPlayer::errorOccurred, this, [](QMediaPlayer::Error error, QString errorString) { - nhlog::ui()->debug( - "Media player error {} and errorStr {}", error, errorString.toStdString()); + nhlog::ui()->debug("Media player error {} and errorStr {}", + static_cast<int>(error), + errorString.toStdString()); }); connect(mediaPlayer, &QMediaPlayer::mediaStatusChanged, [mediaPlayer](QMediaPlayer::MediaStatus status) { - nhlog::ui()->debug( - "Media player status {} and error {}", status, mediaPlayer->error()); + nhlog::ui()->debug("Media player status {} and error {}", + static_cast<int>(status), + static_cast<int>(mediaPlayer->error())); }); connect(mediaPlayer, &QMediaPlayer::metaDataChanged, this, [this, mediaPlayer]() { nhlog::ui()->debug("Got metadata {}");