From 132e954f418913798a3e13d6e7982c25a7943e30 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sat, 1 Aug 2009 21:46:35 +0200 Subject: [PATCH] remove list volume menu from joblist --- bacula/src/qt-console/joblist/joblist.cpp | 10 +--------- bacula/src/qt-console/joblist/joblist.h | 1 - 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/bacula/src/qt-console/joblist/joblist.cpp b/bacula/src/qt-console/joblist/joblist.cpp index 723c3e44e1..0457f736f0 100644 --- a/bacula/src/qt-console/joblist/joblist.cpp +++ b/bacula/src/qt-console/joblist/joblist.cpp @@ -421,7 +421,6 @@ void JobList::createConnections() connect(actionListFilesOnJob, SIGNAL(triggered()), this, SLOT(consoleListFilesOnJob())); connect(actionListJobMedia, SIGNAL(triggered()), this, SLOT(consoleListJobMedia())); - connect(actionListVolumes, SIGNAL(triggered()), this, SLOT(consoleListVolumes())); connect(actionDeleteJob, SIGNAL(triggered()), this, SLOT(consoleDeleteJob())); connect(actionPurgeFiles, SIGNAL(triggered()), this, SLOT(consolePurgeFiles())); connect(actionRestoreFromJob, SIGNAL(triggered()), this, SLOT(preRestoreFromJob())); @@ -454,13 +453,7 @@ void JobList::consoleListJobMedia() if (mainWin->m_longList) { cmd.prepend("l"); } consoleCommand(cmd); } -void JobList::consoleListVolumes() -{ - QString cmd("list volumes jobid="); - cmd += m_currentJob; - if (mainWin->m_longList) { cmd.prepend("l"); } - consoleCommand(cmd); -} + void JobList::consoleListJobTotals() { QString cmd("list jobtotals"); @@ -653,7 +646,6 @@ void JobList::selectionChanged() if (m_selectedJobsCount == 1) { mp_tableWidget->addAction(actionListFilesOnJob); mp_tableWidget->addAction(actionListJobMedia); - mp_tableWidget->addAction(actionListVolumes); mp_tableWidget->addAction(actionRestoreFromJob); mp_tableWidget->addAction(actionRestoreFromTime); mp_tableWidget->addAction(actionShowLogForJob); diff --git a/bacula/src/qt-console/joblist/joblist.h b/bacula/src/qt-console/joblist/joblist.h index 8f5c6baaf4..7a983e2b00 100644 --- a/bacula/src/qt-console/joblist/joblist.h +++ b/bacula/src/qt-console/joblist/joblist.h @@ -58,7 +58,6 @@ public slots: private slots: void consoleListFilesOnJob(); void consoleListJobMedia(); - void consoleListVolumes(); void consoleListJobTotals(); void consoleDeleteJob(); void consolePurgeFiles(); -- 2.39.5