From a1771fe927e48beecbc8c81406bb4156e92136a8 Mon Sep 17 00:00:00 2001 From: Dirk H Bartley Date: Sat, 2 Aug 2008 13:12:10 +0000 Subject: [PATCH] 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 --- bacula/src/qt-console/mainwin.cpp | 4 ++-- bacula/src/qt-console/mainwin.h | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) 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 *); -- 2.39.5