┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/renamedialog.cpp
diff options
context:
space:
mode:
authorEmmanuel Pescosta <[email protected]>2014-11-10 09:12:33 +0100
committerEmmanuel Pescosta <[email protected]>2014-11-10 09:12:33 +0100
commit424d20e435e07c6771cb96b493e74934fd58c0c1 (patch)
tree4bacadc5e8903779456718c693272db07db11508 /src/views/renamedialog.cpp
parent02c08351489ed7b649e6409bf529773bab5136d8 (diff)
KIntSpinBox to QSpinBox
Diffstat (limited to 'src/views/renamedialog.cpp')
-rw-r--r--src/views/renamedialog.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/views/renamedialog.cpp b/src/views/renamedialog.cpp
index c5001af08..f558f3c5f 100644
--- a/src/views/renamedialog.cpp
+++ b/src/views/renamedialog.cpp
@@ -131,7 +131,12 @@ RenameDialog::RenameDialog(QWidget *parent, const KFileItemList& items) :
QLabel* infoLabel = new QLabel(i18nc("@info", "# will be replaced by ascending numbers starting with:"), page);
mainLayout->addWidget(infoLabel);
- m_spinBox = new KIntSpinBox(0, 10000, 1, 1, page, 10);
+ m_spinBox = new QSpinBox(page);
+ m_spinBox->setMaximum(10000);
+ m_spinBox->setMinimum(0);
+ m_spinBox->setSingleStep(1);
+ m_spinBox->setValue(1);
+ m_spinBox->setDisplayIntegerBase(10);
QHBoxLayout* horizontalLayout = new QHBoxLayout(page);
horizontalLayout->setMargin(0);