summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-07-29 06:07:05 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-07-29 06:07:05 +0200
commit771fee2ce813e892964b80792705dba275c05569 (patch)
tree9b6107944cb74507d10ea59019f03dc37d360e39 /compat
parentfbb55fcac3e6cb55f6b3144272c8bc4efe43f4a7 (diff)
compat/check-visible: fix non-win32 build
Issue: #661 Reported-by: @ljgdasfhk
Diffstat (limited to 'compat')
-rw-r--r--compat/check-visible.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/check-visible.cpp b/compat/check-visible.cpp
index 6030ad92..436e1fdd 100644
--- a/compat/check-visible.cpp
+++ b/compat/check-visible.cpp
@@ -53,12 +53,12 @@ bool check_is_visible()
#else
-always_inline OTR_COMPAT_EXPORT
+force_inline OTR_COMPAT_EXPORT
void set_is_visible(const QWidget&)
{
}
-always_inline OTR_COMPAT_EXPORT
+force_inline OTR_COMPAT_EXPORT
bool check_is_visible()
{
return true;