summaryrefslogtreecommitdiffhomepage
path: root/compat/check-visible.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-12-29 13:27:21 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-01-16 07:48:18 +0100
commite9bbb68829e972df2e458aa5beec0568d4737f02 (patch)
treeb305103d53214dcddb76c1f26738d334972b17d3 /compat/check-visible.hpp
parenta1a9a091093c9fb711a1665de9f4d46ae5c5ab67 (diff)
compat/spinlock: implement and use it
Diffstat (limited to 'compat/check-visible.hpp')
-rw-r--r--compat/check-visible.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/compat/check-visible.hpp b/compat/check-visible.hpp
index e24a654b..5b194c7c 100644
--- a/compat/check-visible.hpp
+++ b/compat/check-visible.hpp
@@ -1,12 +1,12 @@
#pragma once
#include "export.hpp"
-#include "macros.hpp"
+#include "macros1.h"
-#include <QWidget>
+class QWidget;
cc_noinline OTR_COMPAT_EXPORT
void set_is_visible(QWidget const& w, bool force = false);
-cc_noinline OTR_COMPAT_EXPORT
+OTR_COMPAT_EXPORT
bool check_is_visible();