mirror of
https://github.com/hyprwm/hyprland-qtutils.git
synced 2025-01-27 16:59:48 +01:00
core: move to hyprland-qt-support instead of KDE's qqc2
Some checks are pending
Build / nix (push) Waiting to run
Some checks are pending
Build / nix (push) Waiting to run
This commit is contained in:
parent
6cc1cf51f2
commit
196e043cd9
4 changed files with 4 additions and 4 deletions
|
@ -4,4 +4,4 @@ This repo houses some qt/qml utilities that might be used by various hypr* apps.
|
|||
|
||||
## Dependencies
|
||||
|
||||
This depends on qt6 and qt6-qml, as well as qqc2-desktop-style from KDE.
|
||||
This depends on qt6 and qt6-qml, as well as hyprland-qt-support.
|
||||
|
|
|
@ -79,7 +79,7 @@ int main(int argc, char* argv[]) {
|
|||
app.setApplicationName(appTitle.isEmpty() ? dialog->title : appTitle);
|
||||
|
||||
if (qEnvironmentVariableIsEmpty("QT_QUICK_CONTROLS_STYLE"))
|
||||
QQuickStyle::setStyle("org.kde.desktop");
|
||||
QQuickStyle::setStyle("org.hyprland.style");
|
||||
|
||||
QQmlApplicationEngine engine;
|
||||
engine.rootContext()->setContextProperty("dialog", dialog);
|
||||
|
|
|
@ -20,7 +20,7 @@ int main(int argc, char* argv[]) {
|
|||
app.setApplicationDisplayName("Support Hyprland");
|
||||
|
||||
if (qEnvironmentVariableIsEmpty("QT_QUICK_CONTROLS_STYLE"))
|
||||
QQuickStyle::setStyle("org.kde.desktop");
|
||||
QQuickStyle::setStyle("org.hyprland.style");
|
||||
|
||||
QQmlApplicationEngine engine;
|
||||
engine.rootContext()->setContextProperty("donateScreen", dialog);
|
||||
|
|
|
@ -45,7 +45,7 @@ int main(int argc, char* argv[]) {
|
|||
app.setApplicationDisplayName("Hyprland Updated");
|
||||
|
||||
if (qEnvironmentVariableIsEmpty("QT_QUICK_CONTROLS_STYLE"))
|
||||
QQuickStyle::setStyle("org.kde.desktop");
|
||||
QQuickStyle::setStyle("org.hyprland.style");
|
||||
|
||||
// This entire mechanism fucking sucks,
|
||||
// but I also suck at qml and I want to avoid spawning a new process as it takes a while.
|
||||
|
|
Loading…
Reference in a new issue