summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppmodelmanager.cpp
diff options
context:
space:
mode:
authorThomas Hartmann <thomas.hartmann@qt.io>2018-04-11 13:59:37 +0200
committerThomas Hartmann <thomas.hartmann@qt.io>2018-04-13 12:18:13 +0000
commit1bd967badbc38edf40dc24152ba4ca494f760685 (patch)
tree08a05f3b4f9c549cf5f7207a38adbf32dca339a0 /src/plugins/cpptools/cppmodelmanager.cpp
parentd9dfddac73c641a07a50f069578a36533a26ef9d (diff)
downloadqt-creator-1bd967badbc38edf40dc24152ba4ca494f760685.tar.gz
Avoid parsing the commandline arguments twice
We parse the arguments independently from QApplication and initialize the settings before we create QApplication. Therefore we can parse any setting before creating QApplication which is required for high DPI support. We use the QApplication argument parsing to filter out Qt specific commandline arguments like style. Change-Id: I83ead87476d99351de6fe4f86c96c39a721af47b Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cppmodelmanager.cpp')
0 files changed, 0 insertions, 0 deletions