mirror of
https://github.com/hyprwm/hyprpolkitagent.git
synced 2024-12-26 09:49:49 +01:00
core: Require KDE only when running in KDE
KDE style might not be available everywhere. Better to depend on default style and allow users to override it with style settings.
This commit is contained in:
parent
ae7c5be24c
commit
072d4c7740
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ void CAgent::initAuthPrompt() {
|
|||
|
||||
authState.qmlIntegration = new CQMLIntegration();
|
||||
|
||||
if (qEnvironmentVariableIsEmpty("QT_QUICK_CONTROLS_STYLE"))
|
||||
if (qEnvironmentVariableIsEmpty("QT_QUICK_CONTROLS_STYLE") && !qEnvironmentVariableIsEmpty("KDE_FULL_SESSION"))
|
||||
QQuickStyle::setStyle("org.kde.desktop");
|
||||
|
||||
authState.qmlEngine = new QQmlApplicationEngine();
|
||||
|
|
Loading…
Reference in a new issue