summaryrefslogtreecommitdiffstats
path: root/src/winmain/qtmain_winrt.cpp
diff options
context:
space:
mode:
authorOliver Wolff <oliver.wolff@theqtcompany.com>2015-12-11 13:30:57 +0100
committerMaurice Kalinowski <maurice.kalinowski@theqtcompany.com>2015-12-11 12:58:36 +0000
commitfda85b6d570702950e85d343745606c35ee02961 (patch)
treef8cde9e7a39728d4b8e290c29ee89657c60b3a99 /src/winmain/qtmain_winrt.cpp
parentb6503d17955520fc4d4c598993ffe8a94b7fa20f (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/winmain/qtmain_winrt.cpp')
-rw-r--r--src/winmain/qtmain_winrt.cpp2
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, &params);
// Install the develMode message handler
#ifndef Q_OS_WINPHONE
defaultMessageHandler = qInstallMessageHandler(devMessageHandler);