Details
-
Bug
-
Status: Closed
-
Not Evaluated
-
Resolution: Done
-
5.15.2
-
None
-
OS: openSUSE Tumbleweed 20210914,
Qt Version: 5.15.2
-
-
1b0cb842129616d67ddf279e7e900fcdf433e390 (qt/qtbase/dev) 50636196e17a25f4c1db6462781c6c3c0d73f322 (qt/qtbase/6.2) e6c28f2cd6e305245906cf9fd52670107f11ce75 (qt/tqtc-qtbase/5.15)
Description
The descriptions of the --geometry, --icon, and --title options are incorrect. Currently they are:
--geometry <geometry> Alias for --windowgeometry. --icon <icon> Alias for --windowicon. --title <title> Alias for --windowtitle.
However, they should instead refer to --qwindowgeometry, --qwindowicon, and --qwindowtitle.
This requires changing lines 1366-1371 of qtbase.git/tree/src/gui/kernel/qguiapplication.cpp to
options->append(QCommandLineOption(QStringLiteral("geometry"), QGuiApplication::tr("Alias for --qwindowgeometry."), QStringLiteral("geometry"))); options->append(QCommandLineOption(QStringLiteral("icon"), QGuiApplication::tr("Alias for --qwindowicon."), QStringLiteral("icon"))); options->append(QCommandLineOption(QStringLiteral("title"), QGuiApplication::tr("Alias for --qwindowtitle."), QStringLiteral("title")));
Attachments
For Gerrit Dashboard: QTBUG-96600 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
371464,2 | Fix QGuiApplication command line options documentation for X11 | dev | qt/qtbase | Status: MERGED | +2 | 0 |
371540,2 | Fix QGuiApplication command line options documentation for X11 | 6.2 | qt/qtbase | Status: MERGED | +2 | 0 |
371543,2 | Fix QGuiApplication command line options documentation for X11 | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |