forked from qt-creator/qt-creator
Debugger: Require only a valid debugger in Kit selection
Lately, Kit::isValid() defaults to also checking e.g. cmake configuration which is pretty irrelevant for this use case here. Change-Id: Idfe3bf4b8836a9b8974473c95048cd853276f9c2 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -225,6 +225,9 @@ StartApplicationDialog::StartApplicationDialog(QWidget *parent)
|
||||
setWindowTitle(tr("Start Debugger"));
|
||||
|
||||
d->kitChooser = new KitChooser(this);
|
||||
d->kitChooser->setKitMatcher([this](const Kit *k) {
|
||||
return DebuggerKitInformation::isValidDebugger(k);
|
||||
});
|
||||
d->kitChooser->populate();
|
||||
|
||||
d->serverPortLabel = new QLabel(tr("Server port:"), this);
|
||||
|
||||
Reference in New Issue
Block a user