From: Dirk H Bartley Date: Thu, 13 Mar 2008 23:22:56 +0000 (+0000) Subject: Get the title to make more sense when window is undocked. X-Git-Tag: Release-7.0.0~4833 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4703991e989be346b45fdce215ddaa6159203d99;p=bacula%2Fbacula 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 --- 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);