Utils, all: Standardize on QtcSettings

Change-Id: Id222016f15b1c3bfe6710fe5d0297666d4565ef1
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
hjk
2023-09-22 16:15:27 +02:00
parent 4629b0f69e
commit 342e066886
172 changed files with 955 additions and 874 deletions

View File

@@ -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);