summary refs log tree commit diff
path: root/src/ui
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-03-14 15:32:14 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-03-14 15:34:18 +0100
commit9b8e6c7f5cd9de7a8c4cbd0727a1956e2b27b0d0 (patch)
tree2b72d3225f5cc12886bcb808a5a44249234484f7 /src/ui
parentReduce allocations when escaping emoji (diff)
downloadnheko-9b8e6c7f5cd9de7a8c4cbd0727a1956e2b27b0d0.tar.xz
Remove some more allocations
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/Avatar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/Avatar.cpp b/src/ui/Avatar.cpp

index 53e72618..154a0e2c 100644 --- a/src/ui/Avatar.cpp +++ b/src/ui/Avatar.cpp
@@ -122,7 +122,7 @@ Avatar::setDevicePixelRatio(double ratio) void Avatar::paintEvent(QPaintEvent *) { - bool rounded = QSettings().value("user/avatar_circles", true).toBool(); + bool rounded = QSettings().value(QStringLiteral("user/avatar_circles"), true).toBool(); QPainter painter(this);