forked from qt-creator/qt-creator
CodeAssist: Display rich text tool tips
Regression introduced by
commit 2d70c2e212
Task-number: QTCREATORBUG-11854
Change-Id: I20f5b686b249059ea01e17d9ef4d61c52155b98c
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
@@ -36,7 +36,6 @@
|
||||
#include <texteditor/completionsettings.h>
|
||||
#include <texteditor/texteditorconstants.h>
|
||||
|
||||
#include <utils/elidinglabel.h>
|
||||
#include <utils/faketooltip.h>
|
||||
#include <utils/hostosinfo.h>
|
||||
|
||||
@@ -151,7 +150,7 @@ class GenericProposalInfoFrame : public Utils::FakeToolTip
|
||||
{
|
||||
public:
|
||||
GenericProposalInfoFrame(QWidget *parent = 0)
|
||||
: Utils::FakeToolTip(parent), m_label(new Utils::ElidingLabel(this))
|
||||
: Utils::FakeToolTip(parent), m_label(new QLabel(this))
|
||||
{
|
||||
QVBoxLayout *layout = new QVBoxLayout(this);
|
||||
layout->setMargin(0);
|
||||
|
||||
Reference in New Issue
Block a user