summaryrefslogtreecommitdiffhomepage
path: root/compat/check-visible.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-07-29 06:36:18 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-07-29 06:36:18 +0200
commita7df6bae0326968a886685f27a9fa8ff24befd42 (patch)
tree1da29dd62ae985e4c62fc4699a3cd4062083d325 /compat/check-visible.cpp
parent1ba054cfc09a47fe838f487c042d3b279c3edc73 (diff)
compat: fix Linux build
Issue: #661
Diffstat (limited to 'compat/check-visible.cpp')
-rw-r--r--compat/check-visible.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/compat/check-visible.cpp b/compat/check-visible.cpp
index 436e1fdd..a47af156 100644
--- a/compat/check-visible.cpp
+++ b/compat/check-visible.cpp
@@ -53,12 +53,12 @@ bool check_is_visible()
#else
-force_inline OTR_COMPAT_EXPORT
-void set_is_visible(const QWidget&)
+never_inline OTR_COMPAT_EXPORT
+void set_is_visible(const QWidget&, bool)
{
}
-force_inline OTR_COMPAT_EXPORT
+never_inline OTR_COMPAT_EXPORT
bool check_is_visible()
{
return true;