Showing with 5 additions and 2 deletions.
  1. +3 −0 src/libkstapp/plotitemdialog.cpp
  2. +1 −1 src/libkstapp/plotitemdialog.h
  3. +1 −1 src/plugins/filters/filters.h
3 changes: 3 additions & 0 deletions src/libkstapp/plotitemdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include "stroketab.h"

#include "math_kst.h"
#include "updateserver.h"

namespace Kst {

Expand Down Expand Up @@ -80,6 +81,8 @@ PlotItemDialog::PlotItemDialog(PlotItem *item, QWidget *parent)
connect(_rightLabelTab, SIGNAL(useDefaultChanged(bool)), this, SLOT(useRightDefaultChanged(bool)));
connect(_axisLabelTab, SIGNAL(useDefaultChanged(bool)), this, SLOT(useAxisDefaultChanged(bool)));

connect(UpdateServer::self(), SIGNAL(objectListsChanged()), this, SLOT(setupContent()));

_rangeTab = new RangeTab(_plotItem, this);
DialogPage *rangePage = new DialogPage(this);
rangePage->setPageTitle(tr("Range/Zoom"));
Expand Down
2 changes: 1 addition & 1 deletion src/libkstapp/plotitemdialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ class PlotItemDialog : public ViewItemDialog
void editMultiple();
void editSingle();
void slotApply();
void setupContent();

private:
void setupContent();
void setupAxis();
void setupRange();
void setupLabels();
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/filters/filters.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ bool kst_pass_filter(
iLengthDataPadded = (int)pow( 2.0, ceil( log10( (double)iLengthData ) / log10( 2.0 ) ) );
// make sure the padding is long enough - this depends on the type of filter.
if (iLengthDataPadded - iLengthData < min_pad(scalars)) {
qDebug() << "doubled length" << min_pad(scalars) << iLengthDataPadded - iLengthData << iLengthDataPadded;
//qDebug() << "doubled length" << min_pad(scalars) << iLengthDataPadded - iLengthData << iLengthDataPadded;
iLengthDataPadded *= 2.0;
}
pPadded = (double*)malloc( iLengthDataPadded * sizeof( double ) );
Expand Down