From 178aebedb723ad4cab157e6b5eec3b45e2dff60e Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sat, 1 Aug 2009 21:19:52 +0200 Subject: [PATCH] make double click work with joblist --- bacula/src/qt-console/joblist/joblist.cpp | 2 +- bacula/src/qt-console/joblist/joblist.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bacula/src/qt-console/joblist/joblist.cpp b/bacula/src/qt-console/joblist/joblist.cpp index 59c95f0378..723c3e44e1 100644 --- a/bacula/src/qt-console/joblist/joblist.cpp +++ b/bacula/src/qt-console/joblist/joblist.cpp @@ -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); diff --git a/bacula/src/qt-console/joblist/joblist.h b/bacula/src/qt-console/joblist/joblist.h index 44ee63e45d..8f5c6baaf4 100644 --- a/bacula/src/qt-console/joblist/joblist.h +++ b/bacula/src/qt-console/joblist/joblist.h @@ -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); -- 2.39.5