forked from qt-creator/qt-creator
Core: Remove "Show all" option in plugin dialog
Turned out it was easy to overlook and didn't reduce the list of visible plugins to a degree that makes a difference. Change-Id: Ib261066b215b66ffb683a87b8592570d895917ac Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -69,14 +69,6 @@ PluginDialog::PluginDialog(QWidget *parent)
|
||||
connect(filterEdit, &Utils::FancyLineEdit::filterChanged,
|
||||
m_view, &ExtensionSystem::PluginView::setFilter);
|
||||
filterLayout->addWidget(filterEdit);
|
||||
m_view->setShowHidden(false);
|
||||
auto showHidden = new QCheckBox(tr("Show all"));
|
||||
showHidden->setToolTip(tr("Show all installed plugins, including base plugins "
|
||||
"and plugins that are not available on this platform."));
|
||||
showHidden->setChecked(m_view->isShowingHidden());
|
||||
connect(showHidden, &QCheckBox::stateChanged,
|
||||
m_view, &ExtensionSystem::PluginView::setShowHidden);
|
||||
filterLayout->addWidget(showHidden);
|
||||
|
||||
vl->addWidget(m_view);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user