From 979bba6460a01525bb5fff51467cb2a9032fb2a4 Mon Sep 17 00:00:00 2001 From: trilene Date: Sat, 1 Aug 2020 15:43:23 -0400 Subject: [PATCH] Tweak AcceptCall dialog --- src/dialogs/AcceptCall.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dialogs/AcceptCall.cpp b/src/dialogs/AcceptCall.cpp index 58348b15..fd6565e2 100644 --- a/src/dialogs/AcceptCall.cpp +++ b/src/dialogs/AcceptCall.cpp @@ -57,8 +57,8 @@ AcceptCall::AcceptCall(const QString &caller, const int iconSize = 24; QLabel *callTypeIndicator = new QLabel(this); - QPixmap callIndicator(":/icons/icons/ui/place-call.png"); - callTypeIndicator->setPixmap(callIndicator.scaled(iconSize * 2, iconSize * 2)); + callTypeIndicator->setPixmap( + QIcon(":/icons/icons/ui/place-call.png").pixmap(QSize(iconSize * 2, iconSize * 2))); QLabel *callTypeLabel = new QLabel("Voice Call", this); labelFont.setPointSizeF(f.pointSizeF() * 1.1);