diff --git a/src/widgets/AttachedWindow.cpp b/src/widgets/AttachedWindow.cpp index 67aa94a1..10d4112b 100644 --- a/src/widgets/AttachedWindow.cpp +++ b/src/widgets/AttachedWindow.cpp @@ -18,6 +18,7 @@ namespace chatterino { +#ifdef USEWINSDK static thread_local std::vector 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)