From f3ff509e32fc701e8bc34e04d90d0f2ffed41bba Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 20 May 2007 19:59:51 +0000 Subject: [PATCH] Tweak tray-monitor + alphabetize bat pane selection git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4861 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/qt-console/mainwin.cpp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/bacula/src/qt-console/mainwin.cpp b/bacula/src/qt-console/mainwin.cpp index e6e33be146..ed19851407 100644 --- a/bacula/src/qt-console/mainwin.cpp +++ b/bacula/src/qt-console/mainwin.cpp @@ -97,7 +97,7 @@ void MainWin::createPages() /* The top tree item representing the director */ topItem = createTopPage(dir->name()); topItem->setIcon(0, QIcon(":images/server.png")); - /* Set background to grey for ease of identification of inactive dirfector */ + /* Set background to grey for ease of identification of inactive Director */ QBrush greyBrush(Qt::lightGray); topItem->setBackground(0, greyBrush); m_currentConsole->setDirectorTreeItem(topItem); @@ -117,15 +117,17 @@ void MainWin::createPages() item->setForeground(0, redBrush); m_currentConsole->dockPage(); - /* create instances of the rest of the classes that will by default exist - * under each director */ + /* + * Create instances in alphabetic order of the rest + * of the classes that will by default exist under each Director. + */ // createPagebRestore(); - createPageMediaList(); + createPageClients(); + createPageFileSet(); QString emptymedia(""), emptyclient(""); createPageJobList(emptymedia, emptyclient, NULL); - createPageClients(); + createPageMediaList(); createPageStorage(); - createPageFileSet(); treeWidget->expandItem(topItem); stackedWidget->setCurrentWidget(m_currentConsole); -- 2.39.5