mirror of https://github.com/qt/qtdoc.git
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:
parent
44f6242058
commit
76406193f1
|
@ -0,0 +1,2 @@
|
|||
[General]
|
||||
MaxWarnings=0
|
|
@ -28,7 +28,7 @@ Rectangle {
|
|||
repeat : false
|
||||
onTriggered: {
|
||||
Logic.cleanUp();
|
||||
nextPuzzle();
|
||||
root.nextPuzzle();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
||||
|
||||
import QtQuick
|
||||
import QtQuick.Particles
|
||||
|
||||
Item {
|
||||
id: button
|
||||
|
|
Loading…
Reference in New Issue