summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qcoreapplication_p.h
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@jollamobile.com>2013-10-08 22:41:20 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-31 19:44:16 +0100
commit418e06f78f8b6cbc33b42f9b300c9c46c1ea2a32 (patch)
tree5f10d79b50edec6ae48ff2c10415a1f2efbd792f /src/corelib/kernel/qcoreapplication_p.h
parent04de24c6449422d29a0d4760375aa94f59222fa3 (diff)
Don't cache QCoreApplication::appName.
This isn't a hot codepath, there is no gain to doing this. It introduces unnecessary bloat (see e.g. https://www.webkit.org/blog/2826/unusual-speed-boost-size-matters/) and complicates boosting Qt application startup in cases where argv[0] is overwritten. Change-Id: I55b2b98b0de6b06fe7a049de262f3e19936b73db Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/kernel/qcoreapplication_p.h')
-rw-r--r--src/corelib/kernel/qcoreapplication_p.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/corelib/kernel/qcoreapplication_p.h b/src/corelib/kernel/qcoreapplication_p.h
index 4b57a7b67d..ad0449f02c 100644
--- a/src/corelib/kernel/qcoreapplication_p.h
+++ b/src/corelib/kernel/qcoreapplication_p.h
@@ -83,7 +83,6 @@ public:
~QCoreApplicationPrivate();
QString appName() const;
- mutable QString applicationName;
#ifdef Q_OS_MAC
static QString macMenuBarName();