From: Kern Sibbald Date: Tue, 13 May 2008 08:14:33 +0000 (+0000) Subject: Tweak jobs dialog X-Git-Tag: Release-7.0.0~4585 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=544831fbcf86dfe669e553ee59ff169e974840d5;p=bacula%2Fbacula Tweak jobs dialog git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6968 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/qt-console/jobs/jobs.cpp b/bacula/src/qt-console/jobs/jobs.cpp index ee58780570..e1288c3c4d 100644 --- a/bacula/src/qt-console/jobs/jobs.cpp +++ b/bacula/src/qt-console/jobs/jobs.cpp @@ -76,10 +76,11 @@ void Jobs::populateTable() m_checkcurwidget = false; tableWidget->clear(); m_checkcurwidget = true; - QStringList headerlist = (QStringList() << tr("Job Name") << tr("Pool") << tr("Messages") - << tr("Client") << tr("Storage") << tr("Where") << tr("Level") << tr("Type") - << tr("FileSet") - << tr("Catalog") << tr("Enabled")); + QStringList headerlist = (QStringList() << tr("Job Name") + << tr("Pool") << tr("Messages") << tr("Client") + << tr("Storage") << tr("Level") << tr("Type") + << tr("FileSet") << tr("Catalog") << tr("Enabled") + << tr("Where")); m_typeIndex = headerlist.indexOf(tr("Type")); @@ -108,20 +109,22 @@ void Jobs::populateTable() if (column == 4) tableItem->setText(job_defs.store_name); if (column == 5) - tableItem->setText(job_defs.where); - if (column == 6) tableItem->setText(job_defs.level); - if (column == 7) + if (column == 6) tableItem->setText(job_defs.type); - if (column == 8) + if (column == 7) tableItem->setText(job_defs.fileset_name); - if (column == 9) + if (column == 8) tableItem->setText(job_defs.catalog_name); - if (column == 10) + if (column == 9) { if (job_defs.enabled) tableItem->setText("Yes"); else tableItem->setText("No"); + } + if (column == 10) + tableItem->setText(job_defs.where); + /* tableItem->setFlags(Qt::ItemIsSelectable); */ tableItem->setForeground(blackBrush); tableWidget->setItem(row, column, tableItem);