Merge integration refs/builds/qtci/dev/1617030826
This commit is contained in:
commit
3e6b7b3bf6
@ -45,8 +45,8 @@
|
||||
// -------------
|
||||
//
|
||||
// This file is not part of the Qt API. It exists for the convenience
|
||||
// of qapplication_*.cpp, qwidget*.cpp and qfiledialog.cpp. This header
|
||||
// file may change from version to version without notice, or even be removed.
|
||||
// of a number of Qt sources files. This header file may change from
|
||||
// version to version without notice, or even be removed.
|
||||
//
|
||||
// We mean it.
|
||||
//
|
||||
|
@ -44,9 +44,9 @@
|
||||
// W A R N I N G
|
||||
// -------------
|
||||
//
|
||||
// This file is not part of the Qt API. It exists for the convenience
|
||||
// of qapplication_*.cpp, qwidget*.cpp and qfiledialog.cpp. This header
|
||||
// file may change from version to version without notice, or even be removed.
|
||||
// This file is not part of the Qt API. It exists purely as an
|
||||
// implementation detail. This header file may change from version to
|
||||
// version without notice, or even be removed.
|
||||
//
|
||||
// We mean it.
|
||||
//
|
||||
|
@ -812,7 +812,7 @@ void QFontDialog::changeEvent(QEvent *e)
|
||||
void QFontDialog::setCurrentFont(const QFont &font)
|
||||
{
|
||||
Q_D(QFontDialog);
|
||||
d->family = font.families().first();
|
||||
d->family = font.families().value(0);
|
||||
d->style = QFontDatabase::styleString(font);
|
||||
d->size = font.pointSize();
|
||||
if (d->size == -1) {
|
||||
|
Loading…
Reference in New Issue
Block a user