forked from qt-creator/qt-creator
McuSupport: fix build with latest QtcSettings adjustments
Change-Id: Iea1ff349ef00a8f4255651c0a1baf3656b5153b7 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
|
||||
#include <utils/filepath.h>
|
||||
#include <utils/infobar.h>
|
||||
#include <utils/qtcsettings.h>
|
||||
|
||||
#include <QAction>
|
||||
#include <QDateTime>
|
||||
@@ -114,6 +115,12 @@ McuSupportPlugin::~McuSupportPlugin()
|
||||
dd = nullptr;
|
||||
}
|
||||
|
||||
static bool isQtDesignStudio()
|
||||
{
|
||||
QtcSettings *settings = Core::ICore::settings();
|
||||
return settings->value("QML/Designer/StandAloneMode", false).toBool();
|
||||
}
|
||||
|
||||
void McuSupportPlugin::initialize()
|
||||
{
|
||||
setObjectName("McuSupportPlugin");
|
||||
|
Reference in New Issue
Block a user