diff options
author | Oliver Wolff <oliver.wolff@theqtcompany.com> | 2015-12-11 13:30:57 +0100 |
---|---|---|
committer | Maurice Kalinowski <maurice.kalinowski@theqtcompany.com> | 2015-12-11 12:58:36 +0000 |
commit | fda85b6d570702950e85d343745606c35ee02961 (patch) | |
tree | f8cde9e7a39728d4b8e290c29ee89657c60b3a99 /src | |
parent | b6503d17955520fc4d4c598993ffe8a94b7fa20f (diff) |
winrt: Readd parameters to the pid-file's CreateFile2 call
Recent changes to the main file accidently removed the
parameter from the call.
Change-Id: I4cce48327d43d9ea3fe4fd82c2f5768aa4bc6d5c
Reviewed-by: Andrew Knight <andrew.knight@intopalo.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/winmain/qtmain_winrt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/winmain/qtmain_winrt.cpp b/src/winmain/qtmain_winrt.cpp index 5d2abcccc7..080f1637f1 100644 --- a/src/winmain/qtmain_winrt.cpp +++ b/src/winmain/qtmain_winrt.cpp @@ -260,7 +260,7 @@ private: FILE_ATTRIBUTE_NORMAL }; pidFile = CreateFile2(reinterpret_cast<LPCWSTR>(pidFileName.utf16()), - GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ, CREATE_ALWAYS, 0); + GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ, CREATE_ALWAYS, ¶ms); // Install the develMode message handler #ifndef Q_OS_WINPHONE defaultMessageHandler = qInstallMessageHandler(devMessageHandler); |