forked from qt-creator/qt-creator
Remove NULL tests for Core::ICore::settings()
It cannot really be NULL Change-Id: I7231e00754464347dc5750249f751cda7f831930 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -623,8 +623,7 @@ void FontSettingsPage::saveSettings()
|
||||
{
|
||||
if (d_ptr->m_value != d_ptr->m_lastValue) {
|
||||
d_ptr->m_lastValue = d_ptr->m_value;
|
||||
if (QSettings *settings = Core::ICore::settings())
|
||||
d_ptr->m_value.toSettings(d_ptr->m_settingsGroup, settings);
|
||||
d_ptr->m_value.toSettings(d_ptr->m_settingsGroup, Core::ICore::settings());
|
||||
|
||||
QTimer::singleShot(0, this, SLOT(delayedChange()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user