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:
@@ -49,10 +49,8 @@ QuickToolBarSettings::QuickToolBarSettings()
|
||||
|
||||
void QuickToolBarSettings::set()
|
||||
{
|
||||
if (get() != *this) {
|
||||
if (QSettings *settings = Core::ICore::settings())
|
||||
toSettings(settings);
|
||||
}
|
||||
if (get() != *this)
|
||||
toSettings(Core::ICore::settings());
|
||||
}
|
||||
|
||||
void QuickToolBarSettings::fromSettings(QSettings *settings)
|
||||
|
||||
Reference in New Issue
Block a user