forked from qt-creator/qt-creator
Apply 'static' pattern to MimeDatabase
Also adjust and streamline using and surrounding code. Change-Id: I6a8b05126bdcbb74ff611b21c7cb3c5902a2d5ca Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -114,13 +114,6 @@
|
||||
the plugin manager's object pool.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\fn MimeDatabase *ICore::mimeDatabase()
|
||||
\brief Returns the application's mime database.
|
||||
|
||||
Use the mime database to manage mime types.
|
||||
*/
|
||||
|
||||
/*!
|
||||
\fn QSettings *ICore::settings(QSettings::Scope scope = QSettings::UserScope)
|
||||
\brief Returns the application's main settings object.
|
||||
@@ -361,11 +354,6 @@ VcsManager *ICore::vcsManager()
|
||||
return m_mainwindow->vcsManager();
|
||||
}
|
||||
|
||||
MimeDatabase *ICore::mimeDatabase()
|
||||
{
|
||||
return m_mainwindow->mimeDatabase();
|
||||
}
|
||||
|
||||
QSettings *ICore::settings(QSettings::Scope scope)
|
||||
{
|
||||
return m_mainwindow->settings(scope);
|
||||
|
||||
Reference in New Issue
Block a user