From 49f8f62b03cbbfbfa90b66ff1493a7cb76849c03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kai=20K=C3=B6hne?= Date: Thu, 6 Jul 2023 08:29:50 +0200 Subject: [PATCH] QCA docs: Call QSettings() default constructor Change-Id: I42c68f7386226a1213f635fbcd8835491450d274 Reviewed-by: Friedemann Kleint (cherry picked from commit f5ea7dd88b13594dca886c4396e3b9ac0ca76840) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/kernel/qcoreapplication.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/corelib/kernel/qcoreapplication.cpp b/src/corelib/kernel/qcoreapplication.cpp index 72ac14c09cc..2b64e9aa519 100644 --- a/src/corelib/kernel/qcoreapplication.cpp +++ b/src/corelib/kernel/qcoreapplication.cpp @@ -2590,7 +2590,7 @@ QStringList QCoreApplication::arguments() \brief the name of the organization that wrote this application The value is used by the QSettings class when it is constructed - using the empty constructor. This saves having to repeat this + using the default constructor. This saves having to repeat this information each time a QSettings object is created. On Mac, QSettings uses \l {QCoreApplication::}{organizationDomain()} as the organization @@ -2630,7 +2630,7 @@ QString QCoreApplication::organizationName() \brief the Internet domain of the organization that wrote this application The value is used by the QSettings class when it is constructed - using the empty constructor. This saves having to repeat this + using the default constructor. This saves having to repeat this information each time a QSettings object is created. On Mac, QSettings uses organizationDomain() as the organization @@ -2667,7 +2667,7 @@ QString QCoreApplication::organizationDomain() \brief the name of this application The application name is used in various Qt classes and modules, - most prominently in \l{QSettings} when it is constructed using the empty constructor. + most prominently in \l{QSettings} when it is constructed using the default constructor. Other uses are in formatted logging output (see \l{qSetMessagePattern()}), in output by \l{QCommandLineParser}, in \l{QTemporaryDir} and \l{QTemporaryFile} default paths, and in some file locations of \l{QStandardPaths}.