Looking at other similar Qt APIs, the type argument usually comes first. The typical related examples can be QMessageBox() constructor taking QIcon as a first parameter, and qFormatLogMessage() function, taking message type as a first parameter. This patch changes the order of arguments, so that MessageType enum comes as a first argument. Amends bad618606d64e943e3fa78e7d1dbc8e1fab55480. Found in Qt 6.9 API review. Change-Id: Ibbdef755a8676a2c556fe7f1c95009ad51320b98 Reviewed-by: David Faure <david.faure@kdab.com> (cherry picked from commit 56114f4d1ed6ec26ff59a596caf09f5b4e0f5d68) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%