forked from qt-creator/qt-creator
Debugger: Switch on QObject name display by default
... and use the option to govern general QObject guts display. This allows people to completely avoid the performance impact of attempted QObject display and still makes the feature more prominent for our favorite use case. Change-Id: I1e53b6448f646ab7eea9168a3cd24c77769e6328 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -257,15 +257,15 @@ DebuggerSettings::DebuggerSettings()
|
||||
insertItem(ShowQtNamespace, item);
|
||||
|
||||
item = new SavedAction(this);
|
||||
item->setSettingsKey(debugModeGroup, QLatin1String("ShowQObjectNames"));
|
||||
item->setSettingsKey(debugModeGroup, QLatin1String("ShowQObjectNames2"));
|
||||
item->setText(tr("Show QObject names if available"));
|
||||
item->setDialogText(tr("Show QObject names if available"));
|
||||
item->setToolTip(tr("<p>Displays the objectName property of QObject based items. "
|
||||
"Note that this can negatively impact debugger performance "
|
||||
"even if no QObjects are present."));
|
||||
item->setCheckable(true);
|
||||
item->setDefaultValue(false);
|
||||
item->setValue(false);
|
||||
item->setDefaultValue(true);
|
||||
item->setValue(true);
|
||||
insertItem(ShowQObjectNames, item);
|
||||
|
||||
item = new SavedAction(this);
|
||||
|
||||
Reference in New Issue
Block a user