mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-11-24 11:42:52 +01:00
Remove dark mode workaround
https://bugreports.qt.io/browse/QTBUG-72028?focusedCommentId=704716&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-704716
This commit is contained in:
parent
11d89432a0
commit
f942ce16dc
@ -1,9 +1,10 @@
|
||||
// SPDX-License-Identifier: LicenseRef-EliasSteurerTachiom OR AGPL-3.0-only
|
||||
|
||||
#include "ScreenPlay/app.h"
|
||||
#include <QApplication>
|
||||
#include <QGuiApplication>
|
||||
#include <QCommandLineParser>
|
||||
#include <QDebug>
|
||||
#include <QStyleFactory>
|
||||
|
||||
#if defined(Q_OS_WIN)
|
||||
#include <sentry.h>
|
||||
@ -22,12 +23,7 @@ int main(int argc, char* argv[])
|
||||
qputenv("QT_MEDIA_BACKEND", "ffmpeg");
|
||||
#endif
|
||||
|
||||
#if defined(Q_OS_WIN)
|
||||
// https://bugreports.qt.io/browse/QTBUG-72028
|
||||
qputenv("QT_QPA_PLATFORM", "windows:darkmode=2");
|
||||
#endif
|
||||
|
||||
QApplication qtGuiApp(argc, argv);
|
||||
QGuiApplication qtGuiApp(argc, argv);
|
||||
ScreenPlay::App app;
|
||||
|
||||
if (app.m_isAnotherScreenPlayInstanceRunning) {
|
||||
|
@ -2,6 +2,6 @@
|
||||
Style=Material
|
||||
|
||||
[Material]
|
||||
Theme=Light
|
||||
Theme=System
|
||||
Accent=Orange
|
||||
Variant=Dense
|
||||
|
Loading…
Reference in New Issue
Block a user