summaryrefslogtreecommitdiffstats
path: root/qtbase.pro
diff options
context:
space:
mode:
authorAlexander Volkov <a.volkov@rusbitech.ru>2018-04-11 16:53:56 +0300
committerAlexander Volkov <a.volkov@rusbitech.ru>2018-06-22 10:28:33 +0000
commitd640dbf730b392640d5497a789e95fa7d88f99fb (patch)
tree88c30e50a7ba60c306b26b63450ef08f85c5dd57 /qtbase.pro
parentc4928e99e9e571890ddfc08ff80139a1dba5fb5d (diff)
QDBusTrayIcon: Avoid needless initialization of a global var
TempFileTemplate is initialized each time an application starts. It leads to the call of QStandardPaths::writableLocation(QStandardPaths::RuntimeLocation) which is slow and can even change permissions of the runtime directory. Use a static wrapper function to initialize this variable only when needed. Change-Id: Ib620f9b842c88103c67f8dfab200f4d39c9981ee Reviewed-by: Dmitry Shachnev <mitya57@gmail.com> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'qtbase.pro')
0 files changed, 0 insertions, 0 deletions