summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorMaurice Kalinowski <maurice.kalinowski@qt.io>2016-05-17 16:35:04 +0200
committerOliver Wolff <oliver.wolff@qt.io>2016-06-13 06:13:19 +0000
commit27e94bd9d1ac5faaa8b1e4ee5d57f820675194b1 (patch)
treec49f9f083e9acd11a8e86b7f4785b066429ddf64 /src/network
parent038c57f4b3aca1b35244fb9fbb0ae81c53279c6f (diff)
winrt: Fix potential crash in QCoreApplication
GetModuleFileName exists for Windows 10 and upwards, hence use the generic version from the win32 mkspec. This allows to create a QCoreApplication object with nullptr argv, as the application filename is identified via the binary itself and not via arguments. A couple of auto-tests use this method to create multiple application objects during runtime. Unfortunately we cannot apply this for msvc2013, even though MSDN states the GetModuleFileName exists, it fails to compile for Windows Phone 8.1. Change-Id: I2b8b988107487ef3785462f8ca40b0a6e0623e32 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Diffstat (limited to 'src/network')
0 files changed, 0 insertions, 0 deletions