From: Eric Bollengier Date: Sat, 1 Aug 2009 19:19:52 +0000 (+0200) Subject: make double click work with joblist X-Git-Tag: Release-5.0.0~382 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=178aebedb723ad4cab157e6b5eec3b45e2dff60e;p=bacula%2Fbacula make double click work with joblist --- 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);