SameGame: Fix qmllint warnings and add qmllint.ini

Fix the unqalified access warning by qualifying the lookup, and remove
an unused import. With that, the project is warning free, and we can
configure qmllint via its ini file to complain loudly if new warnings
are introduced.

Fixes: QTBUG-138178
Pick-to: 6.10
Change-Id: I785ac8dec15b99bce2306d5f1f754a2f55dcc334
Reviewed-by: Olivier De Cannière <olivier.decanniere@qt.io>
This commit is contained in:
Fabian Kosmale 2025-07-18 11:11:18 +02:00
parent 44f6242058
commit 76406193f1
3 changed files with 3 additions and 2 deletions

View File

@ -0,0 +1,2 @@
[General]
MaxWarnings=0

View File

@ -28,7 +28,7 @@ Rectangle {
repeat : false
onTriggered: {
Logic.cleanUp();
nextPuzzle();
root.nextPuzzle();
}
}

View File

@ -2,7 +2,6 @@
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
import QtQuick
import QtQuick.Particles
Item {
id: button