summaryrefslogtreecommitdiffhomepage
path: root/compat/check-visible.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-10-05 15:46:01 +0200
committerStanislaw Halik <sthalik@misaki.pl>2018-10-05 14:32:40 +0000
commit39ea3871c1b3f594df846bc0b9a627c9880ecea4 (patch)
treeb22c45755dad8486718eeffba90a36771e83af8f /compat/check-visible.cpp
parentf92e6b78505ee4bcb148cd07cdae984279b8f6ca (diff)
use attributes only at declaration, not definition
Diffstat (limited to 'compat/check-visible.cpp')
-rw-r--r--compat/check-visible.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/compat/check-visible.cpp b/compat/check-visible.cpp
index 0e154dd0..96dba60f 100644
--- a/compat/check-visible.cpp
+++ b/compat/check-visible.cpp
@@ -15,7 +15,6 @@ static Timer timer;
static QMutex mtx;
static bool visible = true;
-cc_noinline OTR_COMPAT_EXPORT
void set_is_visible(const QWidget& w, bool force)
{
QMutexLocker l(&mtx);
@@ -47,7 +46,6 @@ void set_is_visible(const QWidget& w, bool force)
}
}
-cc_noinline OTR_COMPAT_EXPORT
bool check_is_visible()
{
QMutexLocker l(&mtx);
@@ -57,12 +55,10 @@ bool check_is_visible()
#else
-cc_noinline OTR_COMPAT_EXPORT
void set_is_visible(const QWidget&, bool)
{
}
-cc_noinline OTR_COMPAT_EXPORT
bool check_is_visible()
{
return true;