aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/doc/snippets/qml/treeview
diff options
context:
space:
mode:
authorSemih Yavuz <semih.yavuz@qt.io>2024-12-04 11:20:09 +0100
committerSemih Yavuz <semih.yavuz@qt.io>2025-01-09 16:19:04 +0100
commitf3a6026d11c9d7e9ec839aa2467364f09e35a025 (patch)
tree54221271c35deed020a01aa8473d7b43a33c733f /src/quick/doc/snippets/qml/treeview
parent5430d231e2998a9ed78f0a7924122e32886189af (diff)
qmlformat: fix error message output
We don't need m_valid to check if there is an error. Do validity check by m_error.isEmpty(). Prior to this commit, an invalid command line option given to qmlformat wouldn't spit out the error message and qmlformat would silently ignore the error and run with default settings. For example, the command qmlformat -W -342523 <filepath> should error out with this commit since a negative line length is given. Change-Id: Ie7d07e3b2b3714793f9abed4558003cc5ad77b34 Reviewed-by: Sami Shalayel <sami.shalayel@qt.io>
Diffstat (limited to 'src/quick/doc/snippets/qml/treeview')
0 files changed, 0 insertions, 0 deletions