From 2ee1d10d2ce825787451e69cf8cd80d4e6fe9002 Mon Sep 17 00:00:00 2001 From: Aurindam Jana Date: Fri, 30 Mar 2012 09:39:23 +0200 Subject: [PATCH] DebuggerWindows: Set the window title Regression introduced by 47fea30557902daf677ca5e03702cdc94fe541e1 Change-Id: Ic007ac00e86f26bd3959b3bea0831b4d2cf41182 Reviewed-by: hjk --- src/plugins/debugger/snapshotwindow.h | 4 +++- src/plugins/debugger/watchwindow.h | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/plugins/debugger/snapshotwindow.h b/src/plugins/debugger/snapshotwindow.h index c3e69622c8b..302f4fd8301 100644 --- a/src/plugins/debugger/snapshotwindow.h +++ b/src/plugins/debugger/snapshotwindow.h @@ -61,7 +61,9 @@ class SnapshotWindow : public BaseWindow public: explicit SnapshotWindow(SnapshotHandler *handler) : BaseWindow(new SnapshotTreeView(handler)) - {} + { + setWindowTitle(tr("Snapshots")); + } }; } // namespace Internal diff --git a/src/plugins/debugger/watchwindow.h b/src/plugins/debugger/watchwindow.h index 3db85c30000..b04f85c3f51 100644 --- a/src/plugins/debugger/watchwindow.h +++ b/src/plugins/debugger/watchwindow.h @@ -89,7 +89,9 @@ class WatchWindow : public BaseWindow public: explicit WatchWindow(WatchTreeView::Type type) : BaseWindow(new WatchTreeView(type)) - {} + { + setWindowTitle(tr("Locals and Expressions")); + } }; } // namespace Internal