forked from qt-creator/qt-creator
Explicitly mark experimental plugins as such in plugin overview
This makes the difference between "experimental" and "disabled" visible in the UI. Task-number: QTCREATORBUG-17368 Change-Id: I6a74d27dbad9d35f447fe5687fe26c4eee3a3808 Reviewed-by: Marco Bubke <marco.bubke@qt.io> Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -116,7 +116,10 @@ public:
|
||||
{
|
||||
switch (column) {
|
||||
case NameColumn:
|
||||
if (role == Qt::DisplayRole || role == SortRole)
|
||||
if (role == Qt::DisplayRole)
|
||||
return m_spec->isExperimental() ? PluginView::tr("%1 (experimental)").arg(m_spec->name())
|
||||
: m_spec->name();
|
||||
if (role == SortRole)
|
||||
return m_spec->name();
|
||||
if (role == Qt::ToolTipRole) {
|
||||
QString toolTip;
|
||||
|
||||
Reference in New Issue
Block a user