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
@@ -130,7 +130,6 @@ private:
|
||||
} // Anonymous
|
||||
|
||||
GenericProposalModel::GenericProposalModel()
|
||||
: m_detailTextFormat(Qt::AutoText)
|
||||
{}
|
||||
|
||||
GenericProposalModel::~GenericProposalModel()
|
||||
@@ -146,16 +145,6 @@ void GenericProposalModel::loadContent(const QList<AssistProposalItem *> &items)
|
||||
m_idByText.insert(m_originalItems.at(i)->text(), i);
|
||||
}
|
||||
|
||||
Qt::TextFormat GenericProposalModel::detailTextFormat() const
|
||||
{
|
||||
return m_detailTextFormat;
|
||||
}
|
||||
|
||||
void GenericProposalModel::setDetailTextFormat(Qt::TextFormat detailTextFormat)
|
||||
{
|
||||
m_detailTextFormat = detailTextFormat;
|
||||
}
|
||||
|
||||
void GenericProposalModel::reset()
|
||||
{
|
||||
m_currentItems = m_originalItems;
|
||||
|
||||
Reference in New Issue
Block a user