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-3.0.0~1681 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=21948b40c54b31418f427ed8d57c7f1efd3fa3ec;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);