diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-11-15 14:50:58 +0100 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-11-22 21:27:45 +0000 |
commit | eade2255ea7cd8200569080e9b295479b1f51bed (patch) | |
tree | 5f0c7012350cf4f89f31ab2584ceb7350edbae50 /tests/auto/network | |
parent | fb2e795c6e61b3c5fb699aefdb2662769c12f76b (diff) |
Windows: Resolve QStandardPaths config location without qApp instance
Calling QCoreApplication::applicationDirPath() requires an app instance,
but on Windows the implementation just relies on qAppFileName(), which
does not require any instance. As resolving the standard paths could
be needed before QCoreApplication instantiation, e.g. for categorized
logging, we use qAppFileName() directly.
Change-Id: Id882cebd528bcb8e945e73a83f1dc3d599b74d1d
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
Diffstat (limited to 'tests/auto/network')
0 files changed, 0 insertions, 0 deletions