From 84c85afc704887a61b39019368f8ddf0f94c98da Mon Sep 17 00:00:00 2001 From: m0dB Date: Wed, 25 Sep 2024 20:50:04 +0200 Subject: [PATCH] set QQuickStyle to "basic" as the widget modifications in the QML code is not compatible with the macOS style --- src/qml/qmlapplication.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/qml/qmlapplication.cpp b/src/qml/qmlapplication.cpp index dbae62d83de..5ead34eb30d 100644 --- a/src/qml/qmlapplication.cpp +++ b/src/qml/qmlapplication.cpp @@ -1,6 +1,7 @@ #include "qmlapplication.h" #include +#include #include "control/controlsortfiltermodel.h" #include "controllers/controllermanager.h" @@ -46,6 +47,8 @@ QmlApplication::QmlApplication( m_mainFilePath(pCoreServices->getSettings()->getResourcePath() + kMainQmlFileName), m_pAppEngine(nullptr), m_autoReload() { + QQuickStyle::setStyle("Basic"); + m_pCoreServices->initialize(app); SoundDeviceStatus result = m_pCoreServices->getSoundManager()->setupDevices(); if (result != SoundDeviceStatus::Ok) {