forked from qt-creator/qt-creator
Utils, all: Standardize on QtcSettings
Change-Id: Id222016f15b1c3bfe6710fe5d0297666d4565ef1 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
#include <extensionsystem/pluginspec.h>
|
||||
|
||||
#include <utils/genericconstants.h>
|
||||
#include <utils/qtcsettings.h>
|
||||
|
||||
#include <projectexplorer/project.h>
|
||||
#include <projectexplorer/projectmanager.h>
|
||||
@@ -23,6 +24,7 @@
|
||||
using namespace clang;
|
||||
using namespace format;
|
||||
using namespace TextEditor;
|
||||
using namespace Utils;
|
||||
|
||||
namespace ClangFormat {
|
||||
|
||||
@@ -42,7 +44,7 @@ static bool isBeautifierOnSaveActivated()
|
||||
if (!isBeautifierPluginActivated())
|
||||
return false;
|
||||
|
||||
QSettings *s = Core::ICore::settings();
|
||||
QtcSettings *s = Core::ICore::settings();
|
||||
bool activated = false;
|
||||
s->beginGroup(Utils::Constants::BEAUTIFIER_SETTINGS_GROUP);
|
||||
s->beginGroup(Utils::Constants::BEAUTIFIER_GENERAL_GROUP);
|
||||
|
||||
Reference in New Issue
Block a user