diff options
author | hjk <qtc-committer@nokia.com> | 2011-05-30 14:00:29 +0200 |
---|---|---|
committer | hjk <qthjk@ovi.com> | 2011-05-30 16:00:11 +0200 |
commit | 7295d50591be94a79bfd4c2ac5e159091fb2489c (patch) | |
tree | 3a17c9cf4b26eaeee6d918719b4e483ab5fbb6c0 /src/plugins/debugger | |
parent | 83072da8b0fc50bd05a8a19ee2c3be413f6ec50a (diff) | |
download | qt-creator-7295d50591be94a79bfd4c2ac5e159091fb2489c.tar.gz |
debugger: less system specific ui
Change-Id: I6d453a61e56ce52b682a90f03f07330b9a6e24a7
Reviewed-on: http://codereview.qt.nokia.com/225
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'src/plugins/debugger')
-rw-r--r-- | src/plugins/debugger/moduleswindow.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/plugins/debugger/moduleswindow.cpp b/src/plugins/debugger/moduleswindow.cpp index d5bf0a1329..ee23318b78 100644 --- a/src/plugins/debugger/moduleswindow.cpp +++ b/src/plugins/debugger/moduleswindow.cpp @@ -134,10 +134,8 @@ void ModulesWindow::contextMenuEvent(QContextMenuEvent *ev) actEditFile->setEnabled(false); actShowModuleSymbols = new QAction(tr("Show Symbols"), &menu); actShowModuleSymbols->setEnabled(false); -#ifdef Q_OS_WIN actShowDependencies = new QAction(tr("Show Dependencies"), &menu); actShowDependencies->setEnabled(false); -#endif } else { actLoadSymbolsForModule = new QAction(tr("Load Symbols for Module \"%1\"").arg(name), &menu); @@ -149,16 +147,17 @@ void ModulesWindow::contextMenuEvent(QContextMenuEvent *ev) = new QAction(tr("Show Symbols in File \"%1\"").arg(name), &menu); actShowModuleSymbols ->setEnabled(capabilities & ShowModuleSymbolsCapability); -#ifdef Q_OS_WIN actShowDependencies = new QAction(tr("Show Dependencies of \"%1\"").arg(name), &menu); actShowDependencies->setEnabled(!fileName.isEmpty()); +#ifndef Q_OS_WIN + // FIXME: Dependencies only available on Windows, when "depends" is installed. + actShowDependencies->setEnabled(false); #endif } menu.addAction(actUpdateModuleList); //menu.addAction(actShowModuleSources); // FIXME - if (actShowDependencies) - menu.addAction(actShowDependencies); + menu.addAction(actShowDependencies); menu.addAction(actLoadSymbolsForAllModules); menu.addAction(actExamineAllModules); menu.addAction(actLoadSymbolsForModule); |