mirror of
https://bitbucket.org/smil3y/kdelibs.git
synced 2025-02-23 18:32:49 +00:00
kdeui: disable editing of KFontComboBox completely
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
2d9091e401
commit
3a2a54184d
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ KFontComboBox::KFontComboBox (QWidget *parent)
|
|||
: KComboBox(true, parent), d(new KFontComboBoxPrivate(this))
|
||||
{
|
||||
// Inputing arbitrary font names does not make sense.
|
||||
setInsertPolicy(QComboBox::NoInsert);
|
||||
setEditable(false);
|
||||
|
||||
// Special list item painter showing font previews and its list model.
|
||||
d->delegate = new KFontFamilyDelegate(this);
|
||||
|
|
Loading…
Add table
Reference in a new issue