diff options
author | hjk <qtc-committer@nokia.com> | 2009-11-25 08:35:02 +0100 |
---|---|---|
committer | hjk <qtc-committer@nokia.com> | 2009-11-25 13:46:33 +0100 |
commit | f2392ffbc0b39d24a8f158104a2cdb71f090e317 (patch) | |
tree | 8eef8165bf6b5441ea6ee9b7c9905f356f671506 /src/plugins/debugger/debuggeractions.cpp | |
parent | b8dbb12009b042d6e4c4b7cbec90ab198664cf35 (diff) | |
download | qt-creator-f2392ffbc0b39d24a8f158104a2cdb71f090e317.tar.gz |
debugger: allow the user to hide the std:: and Qt's namespace
Diffstat (limited to 'src/plugins/debugger/debuggeractions.cpp')
-rw-r--r-- | src/plugins/debugger/debuggeractions.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/plugins/debugger/debuggeractions.cpp b/src/plugins/debugger/debuggeractions.cpp index 52a483d952..0e5c532635 100644 --- a/src/plugins/debugger/debuggeractions.cpp +++ b/src/plugins/debugger/debuggeractions.cpp @@ -196,6 +196,22 @@ DebuggerSettings *DebuggerSettings::instance() item = new SavedAction(instance); instance->insertItem(WatchPoint, item); + item = new SavedAction(instance); + item->setSettingsKey(debugModeGroup, QLatin1String("ShowStandardNamespace")); + item->setText(tr("Show std:: namespace for types")); + item->setCheckable(true); + item->setDefaultValue(true); + item->setValue(true); + instance->insertItem(ShowStdNamespace, item); + + item = new SavedAction(instance); + item->setSettingsKey(debugModeGroup, QLatin1String("ShowQtNamespace")); + item->setText(tr("Show Qt's namespace for types")); + item->setCheckable(true); + item->setDefaultValue(true); + item->setValue(true); + instance->insertItem(ShowQtNamespace, item); + // // DebuggingHelper // |