forked from qt-creator/qt-creator
Revert "Clang: Fix text format for completion details" from 3.6
This reverts commit c5f70a3bad1ee2457741459cafb6419c67c417ad. We will set the rich text unconditionally in a follow-up change to simplify things. Change-Id: I59aad8e33011ef68aa7c32ec80bb02edfd29c6a6 Reviewed-by: Marco Bubke <marco.bubke@theqtcompany.com>
This commit is contained in:
committed by
Marco Bubke
parent
61709e9266
commit
06a99af0f6
@@ -163,11 +163,6 @@ public:
|
||||
m_label->setText(text);
|
||||
}
|
||||
|
||||
void setTextFormat(Qt::TextFormat textFormat)
|
||||
{
|
||||
m_label->setTextFormat(textFormat);
|
||||
}
|
||||
|
||||
// Workaround QTCREATORBUG-11653
|
||||
void calculateMaximumWidth()
|
||||
{
|
||||
@@ -311,7 +306,6 @@ void GenericProposalWidgetPrivate::maybeShowInfoTip()
|
||||
|
||||
m_infoFrame->move(m_completionListView->infoFramePos());
|
||||
m_infoFrame->setText(infoTip);
|
||||
m_infoFrame->setTextFormat(m_model->detailTextFormat());
|
||||
m_infoFrame->calculateMaximumWidth();
|
||||
m_infoFrame->adjustSize();
|
||||
m_infoFrame->show();
|
||||
|
||||
Reference in New Issue
Block a user