From 3b37208e33cbff5ae40bc0f2c1fe65f77d405469 Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Mon, 2 Jan 2017 11:43:45 +0100 Subject: [PATCH] doc: Moved two qdoc comments They were simply not postioned correctly relative to the functions they were meant to document. Change-Id: I6eef94b291ae4ffe343d2728cc32477f55b2a871 Reviewed-by: Martin Smith --- src/gui/text/qplatformfontdatabase.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/gui/text/qplatformfontdatabase.cpp b/src/gui/text/qplatformfontdatabase.cpp index b83affecdc..ac3d274b36 100644 --- a/src/gui/text/qplatformfontdatabase.cpp +++ b/src/gui/text/qplatformfontdatabase.cpp @@ -423,14 +423,14 @@ QFont QPlatformFontDatabase::defaultFont() const return QFont(QLatin1String("Helvetica")); } + +QString qt_resolveFontFamilyAlias(const QString &alias); + /*! Resolve alias to actual font family names. \since 5.0 */ - -QString qt_resolveFontFamilyAlias(const QString &alias); - QString QPlatformFontDatabase::resolveFontFamilyAlias(const QString &family) const { return qt_resolveFontFamilyAlias(family); @@ -628,12 +628,13 @@ QSupportedWritingSystems QPlatformFontDatabase::writingSystemsFromTrueTypeBits(q } /*! - Helper function that returns the Qt font weight matching a given opentype integer value. + Helper function that returns the Qt font weight matching + a given opentype integer value. Converts the integer + \a weight (0 ~ 1000) to QFont::Weight and returns it. \since 5.5 */ -// convert 0 ~ 1000 integer to QFont::Weight QFont::Weight QPlatformFontDatabase::weightFromInteger(int weight) { if (weight < 150)