Debugger: Allow all debuggers when attaching to running servers

... but mark those that are considered non-matching. They actually
might in some cases (e.g. MinGW on Linux currently), and not allowing
them at all does more harm.

Change-Id: I1736373782db7f54c0f7a496f8e6a8deb02e6b45
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
hjk
2019-06-11 09:41:03 +02:00
parent e2f7380708
commit fe7e2530fd

View File

@@ -229,9 +229,7 @@ StartApplicationDialog::StartApplicationDialog(QWidget *parent)
setWindowTitle(tr("Start Debugger")); setWindowTitle(tr("Start Debugger"));
d->kitChooser = new KitChooser(this); d->kitChooser = new KitChooser(this);
d->kitChooser->setKitPredicate([](const Kit *k) { d->kitChooser->setShowIcons(true);
return !DebuggerKitAspect::configurationErrors(k);
});
d->kitChooser->populate(); d->kitChooser->populate();
d->serverPortLabel = new QLabel(tr("Server port:"), this); d->serverPortLabel = new QLabel(tr("Server port:"), this);