From: Kern Sibbald Date: Sun, 20 May 2007 19:59:51 +0000 (+0000) Subject: Tweak tray-monitor + alphabetize bat pane selection X-Git-Tag: Release-7.0.0~6284 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f3ff509e32fc701e8bc34e04d90d0f2ffed41bba;p=bacula%2Fbacula Tweak tray-monitor + alphabetize bat pane selection git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4861 91ce42f0-d328-0410-95d8-f526ca767f89 --- 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);