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
...@@ -396,14 +396,7 @@ void FontSettingsPage::updatePointSizes() ...@@ -396,14 +396,7 @@ void FontSettingsPage::updatePointSizes()
{ {
// Update point sizes // Update point sizes
const int oldSize = d_ptr->m_value.fontSize(); const int oldSize = d_ptr->m_value.fontSize();
if (d_ptr->m_ui->sizeComboBox->count()) { d_ptr->m_ui->sizeComboBox->clear();
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();
}
const QList<int> sizeLst = pointSizesForSelectedFont(); const QList<int> sizeLst = pointSizesForSelectedFont();
int idx = -1; int idx = -1;
int i = 0; int i = 0;
......
Supports Markdown
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