From: Dirk H Bartley Date: Sat, 2 Aug 2008 13:12:10 +0000 (+0000) Subject: I think this fixes the last of the issues with #ifdef QWT having signals X-Git-Tag: Release-3.0.0~1098 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a1771fe927e48beecbc8c81406bb4156e92136a8;p=bacula%2Fbacula I think this fixes the last of the issues with #ifdef QWT having signals and slots not working correctly. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7458 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/qt-console/mainwin.cpp b/bacula/src/qt-console/mainwin.cpp index dab2552d03..a03e221025 100644 --- a/bacula/src/qt-console/mainwin.cpp +++ b/bacula/src/qt-console/mainwin.cpp @@ -468,14 +468,14 @@ void MainWin::restoreButtonClicked() new prerestorePage(); } -#ifdef HAVE_QWT void MainWin::jobPlotButtonClicked() { +#ifdef HAVE_QWT JobPlotPass pass; pass.use = false; new JobPlot(NULL, pass); -} #endif +} /* * The user just finished typing a line in the command line edit box diff --git a/bacula/src/qt-console/mainwin.h b/bacula/src/qt-console/mainwin.h index 383f8e3ede..64df8f51da 100644 --- a/bacula/src/qt-console/mainwin.h +++ b/bacula/src/qt-console/mainwin.h @@ -113,9 +113,7 @@ public slots: void estimateButtonClicked(); void browseButtonClicked(); void statusPageButtonClicked(); -#ifdef HAVE_QWT void jobPlotButtonClicked(); -#endif void restoreButtonClicked(); void undockWindowButton(); void treeItemChanged(QTreeWidgetItem *, QTreeWidgetItem *);