Debugger: Switch on "column resize to contents" by default

Since it's easier to shrink columns nowadays (left click
on header section or somewhere in the empty space) this
might "feel" better than last time we tried.

This is an experiment for now, might get reverted before 3.2.

Task-number: QTCREATORBUG-9918
Change-Id: I379d9310e232a16c8b8ee3c6cb0d91746fd7553c
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
hjk
2014-06-02 09:58:20 +02:00
parent 4a2ad3d670
commit d0c925f567
2 changed files with 11 additions and 10 deletions

View File

@@ -108,28 +108,28 @@ DebuggerSettings::DebuggerSettings()
item = new SavedAction(this);
item->setText(tr("Always Adjust Column Widths to Contents"));
item->setCheckable(true);
item->setValue(false);
item->setDefaultValue(false);
item->setValue(true);
item->setDefaultValue(true);
item->setSettingsKey(debugModeGroup,
QLatin1String("AlwaysAdjustLocalsColumnWidths"));
QLatin1String("AlwaysAdjustLocalsColumnWidths2"));
insertItem(AlwaysAdjustLocalsColumnWidths, item);
item = new SavedAction(this);
item->setText(tr("Always Adjust Column Widths to Contents"));
item->setCheckable(true);
item->setValue(false);
item->setDefaultValue(false);
item->setValue(true);
item->setDefaultValue(true);
item->setSettingsKey(debugModeGroup,
QLatin1String("AlwaysAdjustStackColumnWidths"));
QLatin1String("AlwaysAdjustStackColumnWidths2"));
insertItem(AlwaysAdjustStackColumnWidths, item);
item = new SavedAction(this);
item->setText(tr("Always Adjust Column Widths to Contents"));
item->setCheckable(true);
item->setValue(false);
item->setDefaultValue(false);
item->setValue(true);
item->setDefaultValue(true);
item->setSettingsKey(debugModeGroup,
QLatin1String("AlwaysAdjustThreadsColumnWidths"));
QLatin1String("AlwaysAdjustThreadsColumnWidths2"));
insertItem(AlwaysAdjustThreadsColumnWidths, item);
item = new SavedAction(this);