forked from qt-creator/qt-creator
Utils: Streamline QtcSettings interface
Change-Id: Icd9592c0fca5df1e52bdafb570665d92deeb70bb Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -127,10 +127,7 @@ bool MinimizableInfoBars::showInInfoBar(const Id &id) const
|
||||
|
||||
void MinimizableInfoBars::setShowInInfoBar(const Id &id, bool show)
|
||||
{
|
||||
QtcSettings::setValueWithDefault(InfoBar::settings(),
|
||||
settingsKey(id),
|
||||
show,
|
||||
kShowInInfoBarDefault);
|
||||
InfoBar::settings()->setValueWithDefault(settingsKey(id), show, kShowInInfoBarDefault);
|
||||
}
|
||||
|
||||
} // namespace Utils
|
||||
|
||||
Reference in New Issue
Block a user