summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Pereira Da Costa <[email protected]>2016-11-01 11:09:22 +0100
committerHugo Pereira Da Costa <[email protected]>2016-11-01 11:09:22 +0100
commit4ca4af1d877844d0757f3664049306563138e4f2 (patch)
tree537c12c60d0be8951485aaad0c7c0237833707ae
parent049168b9bb2bd97ba192fb1087e03c35326d4b8e (diff)
Fixed warning about unused variables
-rw-r--r--kstyle/breezewindowmanager.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/kstyle/breezewindowmanager.cpp b/kstyle/breezewindowmanager.cpp
index eed26fc..b1b6b8b 100644
--- a/kstyle/breezewindowmanager.cpp
+++ b/kstyle/breezewindowmanager.cpp
@@ -292,6 +292,8 @@ namespace Breeze
delete _pointer;
_pointer = nullptr;
}
+ #else
+ Q_UNUSED( hasPointer );
#endif
}
@@ -883,6 +885,9 @@ namespace Breeze
}
shellSurface->requestMove( _seat, _waylandSerial );
+ #else
+ Q_UNUSED( widget );
+ Q_UNUSED( position );
#endif
}