Commit 063b46ff authored by Daniel Laidig's avatar Daniel Laidig

Adapt to API changes of KCharSelect.

svn path=/trunk/koffice/; revision=649581
parent 0525b371
......@@ -73,7 +73,9 @@ void KoCharSelectDia::initDialog(const QChar &_chr, const QString &_font, bool /
grid->setMargin(0);
grid->setSpacing(KDialog::spacingHint());
charSelect = new KCharSelect( page, _chr, QFont(_font) );
charSelect = new KCharSelect( page );
charSelect->setCurrentChar( _chr );
charSelect->setCurrentFont( QFont(_font) );
connect(charSelect, SIGNAL(charSelected()),this, SLOT(slotDoubleClicked()));
charSelect->resize( charSelect->sizeHint() );
// charSelect->enableFontCombo( true );
......
......@@ -108,7 +108,7 @@ SymbolCombo::selectChar()
dialog.setMainWidget(select);
if (!(m_edit->text().isNull()))
select->setChar(m_edit->text().at(0));
select->setCurrentChar(m_edit->text().at(0));
if (dialog.exec() == QDialog::Accepted)
m_edit->setText(select->currentChar());
......
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