From f0b36b238a98b02fcab80212b71579d112f7eccd Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Thu, 11 Aug 2016 18:03:19 +0200 Subject: [PATCH] ProjectExplorer: Remove duplicated IOutputPane window titles Change-Id: I9187feaccf137ca56f6db6c58367df84494e377f Reviewed-by: Marc Reilly Reviewed-by: Tim Jenssen --- src/plugins/projectexplorer/compileoutputwindow.cpp | 2 +- src/plugins/projectexplorer/taskwindow.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/projectexplorer/compileoutputwindow.cpp b/src/plugins/projectexplorer/compileoutputwindow.cpp index 6c24826ef12..05555849519 100644 --- a/src/plugins/projectexplorer/compileoutputwindow.cpp +++ b/src/plugins/projectexplorer/compileoutputwindow.cpp @@ -150,7 +150,7 @@ CompileOutputWindow::CompileOutputWindow(QAction *cancelBuildAction) : { Core::Context context(Constants::C_COMPILE_OUTPUT); m_outputWindow = new CompileOutputTextEdit(context); - m_outputWindow->setWindowTitle(tr("Compile Output")); + m_outputWindow->setWindowTitle(displayName()); m_outputWindow->setWindowIcon(Icons::WINDOW.icon()); m_outputWindow->setReadOnly(true); m_outputWindow->setUndoRedoEnabled(false); diff --git a/src/plugins/projectexplorer/taskwindow.cpp b/src/plugins/projectexplorer/taskwindow.cpp index f23e78884a5..543944f33d8 100644 --- a/src/plugins/projectexplorer/taskwindow.cpp +++ b/src/plugins/projectexplorer/taskwindow.cpp @@ -232,7 +232,7 @@ TaskWindow::TaskWindow() : d(new TaskWindowPrivate) d->m_listview->setModel(d->m_filter); d->m_listview->setFrameStyle(QFrame::NoFrame); - d->m_listview->setWindowTitle(tr("Issues")); + d->m_listview->setWindowTitle(displayName()); d->m_listview->setSelectionMode(QAbstractItemView::SingleSelection); Internal::TaskDelegate *tld = new Internal::TaskDelegate(this); d->m_listview->setItemDelegate(tld);