]> git.sur5r.net Git - bacula/bacula/commitdiff
I think this fixes the last of the issues with #ifdef QWT having signals
authorDirk H Bartley <dbartley@schupan.com>
Sat, 2 Aug 2008 13:12:10 +0000 (13:12 +0000)
committerDirk H Bartley <dbartley@schupan.com>
Sat, 2 Aug 2008 13:12:10 +0000 (13:12 +0000)
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
bacula/src/qt-console/mainwin.h

index dab2552d03e0b0e038a8d86017b7fb8192ede2ff..a03e22102598e6afffd38d5ecc7db045ca44eedc 100644 (file)
@@ -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
index 383f8e3ede3fbc2203e94a757db6d5eff69ecc4a..64df8f51dac0502cf21bf5047adfd907d1503879 100644 (file)
@@ -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 *);