Skip to content

Commit

Permalink
set QQuickStyle to "basic" as the widget modifications in the QML cod…
Browse files Browse the repository at this point in the history
…e is not compatible with the macOS style
  • Loading branch information
m0dB authored and m0dB committed Sep 25, 2024
1 parent 60b6378 commit 84c85af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/qml/qmlapplication.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "qmlapplication.h"

#include <QQmlEngineExtensionPlugin>
#include <QQuickStyle>

#include "control/controlsortfiltermodel.h"
#include "controllers/controllermanager.h"
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit 84c85af

Please sign in to comment.