From 90080c9432ffe473110615a2444315e80fd37df0 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Tue, 13 May 2008 08:14:33 +0000 Subject: [PATCH] Tweak jobs dialog git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6968 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/qt-console/jobs/jobs.cpp | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) 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); -- 2.39.5