Files
nixpkgs/pkgs/by-name/ca/calamares/let-qml-write-to-global-storage.patch
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

34 lines
1.3 KiB
Diff

diff --git a/src/libcalamares/GlobalStorage.h b/src/libcalamares/GlobalStorage.h
index 37ea332d2..b9e629350 100644
--- a/src/libcalamares/GlobalStorage.h
+++ b/src/libcalamares/GlobalStorage.h
@@ -56,13 +56,6 @@ public:
*/
explicit GlobalStorage( QObject* parent = nullptr );
- /** @brief Insert a key and value into the store
- *
- * The @p value is added to the store with key @p key. If @p key
- * already exists in the store, its existing value is overwritten.
- * The changed() signal is emitted regardless.
- */
- void insert( const QString& key, const QVariant& value );
/** @brief Removes a key and its value
*
* The @p key is removed from the store. If the @p key does not
@@ -123,6 +116,14 @@ public:
QVariantMap data() const { return m; }
public Q_SLOTS:
+ /** @brief Insert a key and value into the store
+ *
+ * The @p value is added to the store with key @p key. If @p key
+ * already exists in the store, its existing value is overwritten.
+ * The changed() signal is emitted regardless.
+ */
+ void insert( const QString& key, const QVariant& value );
+
/** @brief Does the store contain the given key?
*
* This can distinguish an explicitly-inserted QVariant() from