summaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols/controls/filesystembrowser/main.cpp
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2016-04-19 16:05:35 +0200
committerAleix Pol <aleixpol@codereview.qt-project.org>2016-05-11 12:42:08 +0000
commitbc750f8f77072b0279fea1e59601c56969a67df5 (patch)
tree47bec151b8eac20afba46bb4ede1309740601a8e /examples/quickcontrols/controls/filesystembrowser/main.cpp
parent0e00f9fa1cbdbdd2128f2ca31172d88f701ecb59 (diff)
Save some time and memory by using the SystemPalette singleton
Instead of instantiating a SystemPalette object for every Label, re-use the singleton, which is already designed for this. Change-Id: I7356fc983ea6dcd4dad0207c41ae1e0ba07dace4 Reviewed-by: Albert Astals Cid <albert.astals@canonical.com> Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'examples/quickcontrols/controls/filesystembrowser/main.cpp')
0 files changed, 0 insertions, 0 deletions