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:
@@ -28,7 +28,6 @@ namespace Utils { class InfoBar; }
|
||||
namespace Core {
|
||||
class Context;
|
||||
class IWizardFactory;
|
||||
class SettingsDatabase;
|
||||
|
||||
namespace Internal { class MainWindow; }
|
||||
|
||||
@@ -69,7 +68,6 @@ public:
|
||||
QWidget *parent = nullptr);
|
||||
|
||||
static Utils::QtcSettings *settings(QSettings::Scope scope = QSettings::UserScope);
|
||||
static SettingsDatabase *settingsDatabase();
|
||||
static QPrinter *printer();
|
||||
static QString userInterfaceLanguage();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user