summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/corelib/kernel/qcoreapplication.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/corelib/kernel/qcoreapplication.cpp b/src/corelib/kernel/qcoreapplication.cpp
index c3a05551b8..efb1289a5c 100644
--- a/src/corelib/kernel/qcoreapplication.cpp
+++ b/src/corelib/kernel/qcoreapplication.cpp
@@ -394,7 +394,7 @@ QCoreApplicationPrivate::QCoreApplicationPrivate(int &aargc, char **aargv, uint
static const char *const empty = "";
if (argc == 0 || argv == 0) {
argc = 0;
- argv = (char **)∅ // ouch! careful with QCoreApplication::argv()!
+ argv = (char **)∅
}
#ifdef Q_OS_WIN
qCopy(argv, argv + argc, origArgv);
@@ -589,10 +589,6 @@ void QCoreApplicationPrivate::initLocale()
Note that some arguments supplied by the user may have been
processed and removed by QCoreApplication.
- In cases where command line arguments need to be obtained using the
- argv() function, you must convert them from the local string encoding
- using QString::fromLocal8Bit().
-
\section1 Locale Settings
On Unix/Linux Qt is configured to use the system locale settings by