themeeditor: Fix class member initialization by calling the getter

rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]> Mon, 29 Jun 2026 20:12:37 -0400
Newsgroups gmane.comp.systems.archos.rockbox.cvs
Message-ID <[email protected]>
commit 204684f3e2bf2094ad91e864fbc399cbf6320142
Author: Vencislav Atanasov <[email protected]>
Date:   Mon Jun 29 22:16:05 2026 +0300

    themeeditor: Fix class member initialization by calling the getter
    
    Co-authored-by: ChatGPT (GPT-5.3 Mini) <[email protected]>
    Change-Id: I5137c7c5094200809f79880bc425b0f31fee02cc

diff --git a/utils/themeeditor/graphics/rbscreen.cpp b/utils/themeeditor/graphics/rbscreen.cpp
index 7dc0a2ff42..e15ec69b76 100644
--- a/utils/themeeditor/graphics/rbscreen.cpp
+++ b/utils/themeeditor/graphics/rbscreen.cpp
@@ -30,7 +30,7 @@
 
 RBScreen::RBScreen(const RBRenderInfo& info, bool remote,
                    QGraphicsItem *parent)
-                       :QGraphicsItem(parent), backdrop(0), project(project),
+                       :QGraphicsItem(parent), backdrop(0), project(info.project()),
                        albumArt(0), customUI(0), defaultView(0), ax(false)
 {
 
-- 
rockbox-cvs mailing list
[email protected]
https://lists.haxx.se/mailman/listinfo/rockbox-cvs