diff options
| author | Nippy <nippy@Nippy-Mac-mini.local> | 2026-11-01 18:13:54 +0100 |
|---|---|---|
| committer | Nippy <nippy@Nippy-Mac-mini.local> | 2026-11-01 18:13:54 +0100 |
| commit | a64ef966534f8dba6af889ba4bfce15691bfc85b (patch) | |
| tree | b30f284d05b80fa115569ab220deae13797fad6f /raveos-calamares-module/common | |
| parent | 919f977b40016f588b0c8532c8a57f6035056b95 (diff) | |
| download | RaveOS-PKGBUILD-a64ef966534f8dba6af889ba4bfce15691bfc85b.tar.gz RaveOS-PKGBUILD-a64ef966534f8dba6af889ba4bfce15691bfc85b.zip | |
új telepítő
Diffstat (limited to 'raveos-calamares-module/common')
| -rw-r--r-- | raveos-calamares-module/common/RaveBrandingQml.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/raveos-calamares-module/common/RaveBrandingQml.h b/raveos-calamares-module/common/RaveBrandingQml.h new file mode 100644 index 0000000..6ad3453 --- /dev/null +++ b/raveos-calamares-module/common/RaveBrandingQml.h @@ -0,0 +1,13 @@ +#pragma once + +#include <Branding.h> + +#include <QQmlEngine> + +inline void addRaveBrandingImportPath( QQmlEngine* engine ) +{ + if ( const auto* branding = Calamares::Branding::instance() ) + { + engine->addImportPath( branding->componentDirectory() ); + } +} |