Fix linux/macos compilation

This commit is contained in:
Rasmus Karlsson
2019-08-20 09:08:11 +02:00
parent 1b0102c948
commit d3224e7a4e
+2
View File
@@ -18,6 +18,7 @@
namespace chatterino {
#ifdef USEWINSDK
static thread_local std::vector<HWND> taskbarHwnds;
BOOL CALLBACK enumWindows(HWND hwnd, LPARAM)
@@ -37,6 +38,7 @@ BOOL CALLBACK enumWindows(HWND hwnd, LPARAM)
return true;
}
#endif
AttachedWindow::AttachedWindow(void *_target, int _yOffset)
: QWidget(nullptr, Qt::FramelessWindowHint | Qt::Window)