From: Eric Bollengier Date: Sat, 1 Aug 2009 19:46:35 +0000 (+0200) Subject: remove list volume menu from joblist X-Git-Tag: Release-5.0.0~381 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=132e954f418913798a3e13d6e7982c25a7943e30;p=bacula%2Fbacula remove list volume menu from joblist --- 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();