git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5224
91ce42f0-d328-0410-95d8-
f526ca767f89
*/
void JobPlot::setPlotType(QString currentText)
{
- QwtPlotCurve::CurveStyle style;
+ QwtPlotCurve::CurveStyle style = QwtPlotCurve::NoCurve;
if (currentText == "Fitted") {
style = QwtPlotCurve::Lines;
m_fileCurve->setCurveAttribute(QwtPlotCurve::Fitted);
if (m_isClosing) return; /* if closing the application, do nothing here */
Pages *previousPage, *nextPage;
- Console *previousConsole, *nextConsole;
+ Console *previousConsole = NULL;
+ Console *nextConsole;
/* remove all actions before adding actions appropriate for new page */
foreach(QAction* pageAction, treeWidget->actions()) {