Fix QGuiApplication command line options documentation for X11
Fixes: QTBUG-96600 Pick-to: 6.2 5.15 Change-Id: Ic3670b952d97270cce4f0a8df8bba79e934e4a6d Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
2f1d6e4c3f
commit
1b0cb84212
@ -1364,11 +1364,11 @@ void QGuiApplicationPrivate::addQtOptions(QList<QCommandLineOption> *options)
|
|||||||
QGuiApplication::tr("ID of the X11 Visual to use."), QStringLiteral("id")));
|
QGuiApplication::tr("ID of the X11 Visual to use."), QStringLiteral("id")));
|
||||||
// Not using the "QStringList names" solution for those aliases, because it makes the first column too wide
|
// Not using the "QStringList names" solution for those aliases, because it makes the first column too wide
|
||||||
options->append(QCommandLineOption(QStringLiteral("geometry"),
|
options->append(QCommandLineOption(QStringLiteral("geometry"),
|
||||||
QGuiApplication::tr("Alias for --windowgeometry."), QStringLiteral("geometry")));
|
QGuiApplication::tr("Alias for --qwindowgeometry."), QStringLiteral("geometry")));
|
||||||
options->append(QCommandLineOption(QStringLiteral("icon"),
|
options->append(QCommandLineOption(QStringLiteral("icon"),
|
||||||
QGuiApplication::tr("Alias for --windowicon."), QStringLiteral("icon")));
|
QGuiApplication::tr("Alias for --qwindowicon."), QStringLiteral("icon")));
|
||||||
options->append(QCommandLineOption(QStringLiteral("title"),
|
options->append(QCommandLineOption(QStringLiteral("title"),
|
||||||
QGuiApplication::tr("Alias for --windowtitle."), QStringLiteral("title")));
|
QGuiApplication::tr("Alias for --qwindowtitle."), QStringLiteral("title")));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif // QT_CONFIG(commandlineparser)
|
#endif // QT_CONFIG(commandlineparser)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user