Fix FTBFS on cross-compiler for Windows

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5482 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
scorpio810
2018-08-16 00:21:07 +00:00
parent 2ba5be7ecd
commit 4e9fb1b664

View File

@@ -101,7 +101,7 @@ void SingleApplicationPrivate::genBlockServerName()
// User level block requires a user specific data in the hash // User level block requires a user specific data in the hash
if( options & SingleApplication::Mode::User ) { if( options & SingleApplication::Mode::User ) {
#ifdef Q_OS_WIN #ifdef Q_OS_WIN
Q_UNUSED(timeout); // Q_UNUSED(timeout);
wchar_t username [ UNLEN + 1 ]; wchar_t username [ UNLEN + 1 ];
// Specifies size of the buffer on input // Specifies size of the buffer on input
DWORD usernameLength = UNLEN + 1; DWORD usernameLength = UNLEN + 1;