Commit 8bec2d9b authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Remove no longer needed registration of signals with KConfigDialogManager

Signals to listen to are taken from metaobject these days.

(there never was a kpDoubleSpinBox class also)
parent d2f85318
......@@ -32,7 +32,6 @@
#include <QSlider>
#include <QStyle>
#include <KConfigDialogManager>
#include <KLocalizedString>
static inline int calcDiffByTen(int x, int y)
......@@ -78,9 +77,6 @@ kpNumInput::kpNumInput(QWidget *parent)
{
setSizePolicy(QSizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed));
setFocusPolicy(Qt::StrongFocus);
KConfigDialogManager::changedMap()->insert(QStringLiteral("kpIntNumInput"), SIGNAL(valueChanged(int)));
KConfigDialogManager::changedMap()->insert(QStringLiteral("QSpinBox"), SIGNAL(valueChanged(int)));
KConfigDialogManager::changedMap()->insert(QStringLiteral("kpDoubleSpinBox"), SIGNAL(valueChanged(double)));
}
kpNumInput::~kpNumInput()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment