OSDN Git Service

Debugger: Show/Hide Address Column in Stack Window
authorAurindam Jana <aurindam.jana@nokai.com>
Mon, 17 Oct 2011 13:06:56 +0000 (15:06 +0200)
committerhjk <qthjk@ovi.com>
Mon, 17 Oct 2011 14:26:24 +0000 (16:26 +0200)
Show Address column in stack window only if explicitly enabled.
The address column is hidden by default.

Change-Id: I4e4b019dbcde1c2edb9fb3012831eee5054a8a22
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Reviewed-by: hjk <qthjk@ovi.com>
src/plugins/debugger/stackwindow.cpp

index 8191459..b431675 100644 (file)
@@ -88,6 +88,7 @@ void StackWindow::setModel(QAbstractItemModel *model)
     BaseWindow::setModel(model);
     resizeColumnToContents(0);
     resizeColumnToContents(3);
+    showAddressColumn(debuggerCore()->action(UseAddressInStackView)->isChecked());
 }
 
 void StackWindow::contextMenuEvent(QContextMenuEvent *ev)