forked from qt-creator/qt-creator
Core: Disentangle SettingsDatabase access
There's nothing inherently tied to the main window here. Change-Id: I48ae09777a4408fc4c955d23fdee3483d8a97dd0 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -362,21 +362,6 @@ QtcSettings *ICore::settings(QSettings::Scope scope)
|
||||
return PluginManager::globalSettings();
|
||||
}
|
||||
|
||||
/*!
|
||||
Returns the application's settings database.
|
||||
|
||||
The settings database is meant as an alternative to the regular settings
|
||||
object. It is more suitable for storing large amounts of data. The settings
|
||||
are application wide.
|
||||
|
||||
\sa SettingsDatabase
|
||||
\sa settings()
|
||||
*/
|
||||
SettingsDatabase *ICore::settingsDatabase()
|
||||
{
|
||||
return m_mainwindow->settingsDatabase();
|
||||
}
|
||||
|
||||
/*!
|
||||
Returns the application's printer object.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user