From 033196c58072c5e92c56932a3749c921c1456223 Mon Sep 17 00:00:00 2001 From: sudden6 Date: Thu, 25 Feb 2016 14:40:48 +0100 Subject: [PATCH] fix layout of friendrequest form --- src/widget/form/addfriendform.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/widget/form/addfriendform.cpp b/src/widget/form/addfriendform.cpp index 4f6f6467c..0d8e8c77a 100644 --- a/src/widget/form/addfriendform.cpp +++ b/src/widget/form/addfriendform.cpp @@ -36,6 +36,7 @@ #include "src/widget/gui.h" #include "src/widget/translator.h" #include "src/widget/contentlayout.h" +#include "src/widget/tool/croppinglabel.h" #include "src/net/toxme.h" #include #include @@ -277,7 +278,7 @@ void AddFriendForm::addFriendRequestWidget(const QString &friendAddress, const Q horLayout->setMargin(0); friendLayout->addLayout(horLayout); - QLabel* friendLabel = new QLabel(friendWidget); + CroppingLabel* friendLabel = new CroppingLabel(friendWidget); friendLabel->setText("" + friendAddress + ""); horLayout->addWidget(friendLabel);