[utilities/basket] src: Fix initialization order of BasketScene class members

Pino Toscano <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit f755223a2b7e98fdda8ac046c62a993bc6062c83 by Pino Toscano.
Committed on 07/08/2026 at 10:11.
Pushed by pino into branch 'master'.

Fix initialization order of BasketScene class members

M  +1    -1    src/basketscene.cpp

https://invent.kde.org/utilities/basket/-/commit/f755223a2b7e98fdda8ac046c62a993bc6062c83

diff --git a/src/basketscene.cpp b/src/basketscene.cpp
index d7ab7c59..de0c005a 100644
--- a/src/basketscene.cpp
+++ b/src/basketscene.cpp
@@ -1161,6 +1161,7 @@ BasketScene::BasketScene(QWidget *parent, const QString &folderName)
     , m_movingNote(nullptr)
     , m_pickedHandle(0, 0)
     , m_notesToBeDeleted()
+    , m_animated(true)
     , m_clickedToInsert(nullptr)
     , m_zoneToInsert(0)
     , m_posToInsert(-1, -1)
@@ -1209,7 +1210,6 @@ BasketScene::BasketScene(QWidget *parent, const QString &folderName)
     , m_startOfShiftSelectionNote(nullptr)
     , m_finishLoadOnFirstShow(false)
     , m_relayoutOnNextShow(false)
-    , m_animated(true)
 {
     m_view = new BasketView(this);
     m_view->setFocusPolicy(Qt::StrongFocus);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.