]> git.sur5r.net Git - bacula/bacula/commitdiff
make double click work with joblist
authorEric Bollengier <eric@eb.homelinux.org>
Sat, 1 Aug 2009 19:19:52 +0000 (21:19 +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 59c95f0378646af625159a27c71680e3b8860ef2..723c3e44e1d6636f640bff3b96d2ef82969f7216 100644 (file)
@@ -538,7 +538,7 @@ void JobList::showLogForJob()
 /*
  * Subroutine to call class to show the log in the database from that job
  */
-void JobList::showInfoForJob()
+void JobList::showInfoForJob(QTableWidgetItem * item)
 {
    QTreeWidgetItem* pageSelectorTreeWidgetItem = mainWin->getFromHash(this);
    new Job(m_currentJob, pageSelectorTreeWidgetItem);
index 44ee63e45d61baed83092435f25abd55b4c9a5d1..8f5c6baaf498ffae8ad77e92d80f33180c116387 100644 (file)
@@ -65,7 +65,7 @@ private slots:
    void preRestoreFromJob();
    void preRestoreFromTime();
    void showLogForJob();
-   void showInfoForJob();
+   void showInfoForJob(QTableWidgetItem * item=NULL);
    void consoleCancelJob();
    void graphTable();
    void splitterMoved(int pos, int index);