mirror of
https://github.com/itay-grudev/SingleApplication.git
synced 2025-01-15 17:02:06 +08:00
Merge pull request #14 from uralbash/master
Fix Windows warning about unused timeout argument. Thanks to @uralbash
This commit is contained in:
commit
006170d054
@ -67,6 +67,7 @@ void SingleApplicationPrivate::genBlockServerName( int timeout )
|
||||
// User level block requires a user specific data in the hash
|
||||
if( options & SingleApplication::Mode::User ) {
|
||||
#ifdef Q_OS_WIN
|
||||
Q_UNUSED(timeout);
|
||||
wchar_t username [ UNLEN + 1 ];
|
||||
// Specifies size of the buffer on input
|
||||
DWORD usernameLength = UNLEN + 1;
|
||||
|
Loading…
Reference in New Issue
Block a user