aboutsummaryrefslogtreecommitdiff
path: root/singleapplication.cpp
diff options
context:
space:
mode:
authorItay Grudev <itay-grudev@users.noreply.github.com>2016-08-24 12:12:22 +0100
committerItay Grudev <itay@grudev.com>2016-08-24 12:43:26 +0100
commit006170d0548dd33cd07100d6f9657e9057cb05af (patch)
treed9f5d8f14f240acf341976e77fb9826e216bdf2c /singleapplication.cpp
parentMerge pull request #13 from uralbash/master (diff)
parentfix Windows warning about unused parameter (diff)
downloadsingleapplication-006170d0548dd33cd07100d6f9657e9057cb05af.tar.xz
Merge pull request #14 from uralbash/master
Fix Windows warning about unused timeout argument. Thanks to @uralbash
Diffstat (limited to 'singleapplication.cpp')
-rw-r--r--singleapplication.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/singleapplication.cpp b/singleapplication.cpp
index b7b7fae..8fd8e7e 100644
--- a/singleapplication.cpp
+++ b/singleapplication.cpp
@@ -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;