summary refs log tree commit diff
path: root/src/timeline
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2024-04-28 16:44:42 +0000
committerGitHub <noreply@github.com>2024-04-28 16:44:42 +0000
commitf465a5b52fccfb0f6bc88f7279dfc842bc421ee2 (patch)
treeb1469e9dfc0775badcd00f1382f7bb5753144218 /src/timeline
parentMerge pull request #1708 from NepNep21/windows-image-copying (diff)
parentrefactor: replace QString constructors with QStringLiteral (diff)
downloadnheko-f465a5b52fccfb0f6bc88f7279dfc842bc421ee2.tar.xz
Merge pull request #1717 from Integral-Tech/optimize-qstring
refactor: replace QString constructors with QStringLiteral
Diffstat (limited to 'src/timeline')
-rw-r--r--src/timeline/InputBar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp

index e0dfe9b9..1a086c2b 100644 --- a/src/timeline/InputBar.cpp +++ b/src/timeline/InputBar.cpp
@@ -75,7 +75,7 @@ MediaUpload::thumbnailDataUrl() const buffer.open(QIODevice::WriteOnly); thumbnail_.save(&buffer, "PNG"); QString base64 = QString::fromUtf8(byteArray.toBase64()); - return QString("data:image/png;base64,") + base64; + return QStringLiteral("data:image/png;base64,") + base64; } bool