From 3f59d310b07b1af46b03de989f8e353c4905ab76 Mon Sep 17 00:00:00 2001 From: Dirk H Bartley Date: Sun, 15 Apr 2007 18:05:34 +0000 Subject: [PATCH] dhb Show job bytes in joblist. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4561 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/qt-console/joblist/joblist.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bacula/src/qt-console/joblist/joblist.cpp b/bacula/src/qt-console/joblist/joblist.cpp index 85d147cfbe..46f0983bd8 100644 --- a/bacula/src/qt-console/joblist/joblist.cpp +++ b/bacula/src/qt-console/joblist/joblist.cpp @@ -69,7 +69,7 @@ void JobList::populateTable() /* Set up query QString and header QStringList */ QString query(""); query += "SELECT j.Jobid,j.Name,j.Starttime,j.Type,j.Level,j.Jobfiles," - "j.Jobstatus" + "j.JobBytes,j.JobStatus" " FROM job j, jobmedia jm, media m" " WHERE jm.jobid=j.jobid and jm.mediaid=m.mediaid"; if (m_medianame != "") { @@ -79,15 +79,15 @@ void JobList::populateTable() query += " ORDER BY j.Starttime"; QStringList headerlist = (QStringList() << "Job Id" << "Job Name" << "Job Starttime" << "Job Type" << "Job Level" - << "Job Files" << "Job Status"); + << "Job Files" << "Job Bytes" << "Job Status"); /* Initialize the QTableWidget */ mp_tableWidget->clear(); mp_tableWidget->setColumnCount(headerlist.size()); mp_tableWidget->setHorizontalHeaderLabels(headerlist); - /* printf("Query cmd : %s\n",query.toUtf8().data()); - * This could be a debug message?? */ + /* This could be a debug message?? */ + /* printf("Query cmd : %s\n",query.toUtf8().data()); */ if (mp_console->sql_cmd(query, results)) { m_resultCount = results.count(); -- 2.39.5