From 607b7fd8e70e8175e48a121f9ab41c657d106f09 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Tue, 6 May 2014 08:27:43 +0200 Subject: [PATCH] Remove unused variables in the debugger watch window code. Change-Id: Id70e972c4a768d9d544e062dfc29e9b43d88c56e Reviewed-by: hjk --- src/plugins/debugger/watchwindow.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/plugins/debugger/watchwindow.cpp b/src/plugins/debugger/watchwindow.cpp index 7f412a9e9aa..06ad1bd890c 100644 --- a/src/plugins/debugger/watchwindow.cpp +++ b/src/plugins/debugger/watchwindow.cpp @@ -592,9 +592,6 @@ void WatchTreeView::fillFormatMenu(QMenu *formatMenu, const QModelIndex &mi) { QTC_CHECK(mi.isValid()); - DebuggerEngine *engine = currentEngine(); - WatchHandler *handler = engine->watchHandler(); - const QModelIndex mi2 = mi.sibling(mi.row(), 2); const QString type = mi2.data().toString(); @@ -604,7 +601,7 @@ void WatchTreeView::fillFormatMenu(QMenu *formatMenu, const QModelIndex &mi) mi.data(LocalsTypeFormatRole).toInt(); const int individualFormat = mi.data(LocalsIndividualFormatRole).toInt(); - const int unprintableBase = handler->unprintableBase(); + const int unprintableBase = WatchHandler::unprintableBase(); QAction *showUnprintableUnicode = 0; QAction *showUnprintableEscape = 0;