]> git.sur5r.net Git - bacula/bacula/commitdiff
remove list volume menu from joblist
authorEric Bollengier <eric@eb.homelinux.org>
Sat, 1 Aug 2009 19:46:35 +0000 (21:46 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 3 Aug 2009 14:16:35 +0000 (16:16 +0200)
bacula/src/qt-console/joblist/joblist.cpp
bacula/src/qt-console/joblist/joblist.h

index 723c3e44e1d6636f640bff3b96d2ef82969f7216..0457f736f03c4a67bb0046f421eef5ca980a8a21 100644 (file)
@@ -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);
index 8f5c6baaf498ffae8ad77e92d80f33180c116387..7a983e2b008c28d05a744a264219e5d679bf9689 100644 (file)
@@ -58,7 +58,6 @@ public slots:
 private slots:
    void consoleListFilesOnJob();
    void consoleListJobMedia();
-   void consoleListVolumes();
    void consoleListJobTotals();
    void consoleDeleteJob();
    void consolePurgeFiles();