Fix linux/macos compilation

This commit is contained in:
Rasmus Karlsson 2019-08-20 09:08:11 +02:00
parent 1b0102c948
commit d3224e7a4e

View file

@ -18,6 +18,7 @@
namespace chatterino { namespace chatterino {
#ifdef USEWINSDK
static thread_local std::vector<HWND> taskbarHwnds; static thread_local std::vector<HWND> taskbarHwnds;
BOOL CALLBACK enumWindows(HWND hwnd, LPARAM) BOOL CALLBACK enumWindows(HWND hwnd, LPARAM)
@ -37,6 +38,7 @@ BOOL CALLBACK enumWindows(HWND hwnd, LPARAM)
return true; return true;
} }
#endif
AttachedWindow::AttachedWindow(void *_target, int _yOffset) AttachedWindow::AttachedWindow(void *_target, int _yOffset)
: QWidget(nullptr, Qt::FramelessWindowHint | Qt::Window) : QWidget(nullptr, Qt::FramelessWindowHint | Qt::Window)