mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Fix linux/macos compilation
This commit is contained in:
parent
1b0102c948
commit
d3224e7a4e
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue