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>
This commit is contained in:
Oliver Wolff 2015-12-11 13:30:57 +01:00 committed by Maurice Kalinowski
parent b6503d1795
commit fda85b6d57

View File

@ -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);