forked from qt-creator/qt-creator
Debugger: Mark bad debuggger entries with an error icon
Change-Id: If3f7ab4ea015be6f580f748f9d0ee19c608a0239 Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
This commit is contained in:
@@ -202,6 +202,18 @@ QStringList DebuggerItem::abiNames() const
|
||||
return list;
|
||||
}
|
||||
|
||||
bool DebuggerItem::isGood() const
|
||||
{
|
||||
return m_engineType != NoEngineType;
|
||||
}
|
||||
|
||||
QString DebuggerItem::validityMessage() const
|
||||
{
|
||||
if (m_engineType == NoEngineType)
|
||||
return DebuggerOptionsPage::tr("Could not determine debugger type");
|
||||
return QString();
|
||||
}
|
||||
|
||||
bool DebuggerItem::operator==(const DebuggerItem &other) const
|
||||
{
|
||||
return m_id == other.m_id
|
||||
|
||||
Reference in New Issue
Block a user