mirror of
https://github.com/KDE/konsole.git
synced 2026-05-18 19:47:16 -04:00
Use KIntSpinBox instead of QSpinBox for better integration with KDE. As a bonus this allows to use plural suffix in spinboxes since KDE 4.3 if necessary.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=989742
This commit is contained in:
@@ -26,11 +26,11 @@
|
||||
#include <QtGui/QCheckBox>
|
||||
#include <QtGui/QLabel>
|
||||
#include <QtGui/QRadioButton>
|
||||
#include <QtGui/QSpinBox>
|
||||
#include <QtGui/QWidget>
|
||||
|
||||
// KDE
|
||||
#include <KLocalizedString>
|
||||
#include <KNumInput>
|
||||
|
||||
// Konsole
|
||||
#include "SessionManager.h"
|
||||
@@ -70,7 +70,7 @@ HistorySizeDialog::HistorySizeDialog( QWidget* parent )
|
||||
modeGroup->addButton(_fixedHistoryButton);
|
||||
modeGroup->addButton(_unlimitedHistoryButton);
|
||||
|
||||
_lineCountBox = new QSpinBox(this);
|
||||
_lineCountBox = new KIntSpinBox(this);
|
||||
|
||||
// minimum lines = 1 ( for 0 lines , "No History" mode should be used instead )
|
||||
// maximum lines is abritrarily chosen, I do not think it is sensible to allow this
|
||||
|
||||
Reference in New Issue
Block a user