From: Dirk H Bartley Date: Sun, 15 Apr 2007 18:05:34 +0000 (+0000) Subject: dhb Show job bytes in joblist. X-Git-Tag: Release-7.0.0~6567 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3f59d310b07b1af46b03de989f8e353c4905ab76;p=bacula%2Fbacula dhb Show job bytes in joblist. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4561 91ce42f0-d328-0410-95d8-f526ca767f89 --- 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();