Commit aaab29e9 authored by Nicolas Lécureuil's avatar Nicolas Lécureuil

Convert from KIntSpinBox to QSpinBox

REVIEW: 124862
parent ce1e8831
......@@ -87,7 +87,7 @@ void Palapeli::IntegerPropertyWidget::initialize(const Pala::SlicerProperty* pro
switch (intProperty->representation())
{
case Pala::IntegerProperty::SpinBox:
usedWidget = m_spinBox = new KIntSpinBox(this);
usedWidget = m_spinBox = new QSpinBox(this);
if (range.first != range.second) //only set range if it is not empty
m_spinBox->setRange(range.first, range.second);
m_spinBox->setValue(property->defaultValue().toInt());
......
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