From 21948b40c54b31418f427ed8d57c7f1efd3fa3ec Mon Sep 17 00:00:00 2001 From: Dirk H Bartley Date: Thu, 13 Mar 2008 23:22:56 +0000 Subject: [PATCH] Get the title to make more sense when window is undocked. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6609 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/qt-console/status/clientstat.cpp | 2 +- bacula/src/qt-console/status/storstat.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bacula/src/qt-console/status/clientstat.cpp b/bacula/src/qt-console/status/clientstat.cpp index 91e4bd0405..b4fe0579bf 100644 --- a/bacula/src/qt-console/status/clientstat.cpp +++ b/bacula/src/qt-console/status/clientstat.cpp @@ -43,7 +43,7 @@ ClientStat::ClientStat(QString &client, QTreeWidgetItem *parentTreeWidgetItem) { m_client = client; setupUi(this); - m_name = tr("Client Status"); + m_name = tr("Client Status") + " " + m_client; m_closeable = true; pgInitialize(parentTreeWidgetItem); QTreeWidgetItem* thisitem = mainWin->getFromHash(this); diff --git a/bacula/src/qt-console/status/storstat.cpp b/bacula/src/qt-console/status/storstat.cpp index c572098218..4a51064ff7 100644 --- a/bacula/src/qt-console/status/storstat.cpp +++ b/bacula/src/qt-console/status/storstat.cpp @@ -57,7 +57,7 @@ StorStat::StorStat(QString &storage, QTreeWidgetItem *parentTreeWidgetItem) { m_storage = storage; setupUi(this); - m_name = tr("Storage Status"); + m_name = tr("Storage Status") + " " + m_storage; m_closeable = true; pgInitialize(parentTreeWidgetItem); QTreeWidgetItem* thisitem = mainWin->getFromHash(this); -- 2.39.5