Skip to content
Snippets Groups Projects
Commit 554af4e8 authored by Robert Loehning's avatar Robert Loehning Committed by Robert Löhning
Browse files

Removed dead code


Change-Id: I613daecfe47a17622f30d38d4b74dd21949a08ad
Reviewed-by: default avatarEike Ziller <eike.ziller@nokia.com>
Reviewed-by: default avatarLeandro T. C. Melo <leandro.melo@nokia.com>
parent f3753e50
No related branches found
No related tags found
No related merge requests found
......@@ -396,14 +396,7 @@ void FontSettingsPage::updatePointSizes()
{
// Update point sizes
const int oldSize = d_ptr->m_value.fontSize();
if (d_ptr->m_ui->sizeComboBox->count()) {
const QString curSize = d_ptr->m_ui->sizeComboBox->currentText();
bool ok = true;
int oldSize = curSize.toInt(&ok);
if (!ok)
oldSize = d_ptr->m_value.fontSize();
d_ptr->m_ui->sizeComboBox->clear();
}
d_ptr->m_ui->sizeComboBox->clear();
const QList<int> sizeLst = pointSizesForSelectedFont();
int idx = -1;
int i = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment