aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/winextras/qwinfunctions_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/winextras/qwinfunctions_p.h b/src/winextras/qwinfunctions_p.h
index 3aad7bc..03dff5e 100644
--- a/src/winextras/qwinfunctions_p.h
+++ b/src/winextras/qwinfunctions_p.h
@@ -69,10 +69,10 @@ namespace QtDwmApiDll
template <class T> static T windowAttribute(HWND hwnd, DWORD attribute, T defaultValue);
template <class T> static void setWindowAttribute(HWND hwnd, DWORD attribute, T value);
- static bool booleanWindowAttribute(HWND hwnd, DWORD attribute)
+ inline bool booleanWindowAttribute(HWND hwnd, DWORD attribute)
{ return QtDwmApiDll::windowAttribute<BOOL>(hwnd, attribute, FALSE) != FALSE; }
- static void setBooleanWindowAttribute(HWND hwnd, DWORD attribute, bool value)
+ inline void setBooleanWindowAttribute(HWND hwnd, DWORD attribute, bool value)
{ setWindowAttribute<BOOL>(hwnd, attribute, BOOL(value ? TRUE : FALSE)); }
};