From 5dbdb6424c95e7312e9bb91329210b5f570b2f17 Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Tue, 3 Jul 2018 21:27:17 +0000 Subject: [PATCH] Get rid of some more warnings --- src/widgets/AttachedWindow.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/widgets/AttachedWindow.hpp b/src/widgets/AttachedWindow.hpp index ca431725..d35303a6 100644 --- a/src/widgets/AttachedWindow.hpp +++ b/src/widgets/AttachedWindow.hpp @@ -9,7 +9,7 @@ namespace chatterino { class AttachedWindow : public QWidget { - AttachedWindow(void *target_, int asdf); + AttachedWindow(void *_target, int _yOffset); public: struct GetArgs { @@ -37,8 +37,10 @@ private: int currentYOffset_; int width_ = 360; int height_ = -1; +#ifdef USEWINSDK bool validProcessName_ = false; bool attached_ = false; +#endif QTimer timer_; struct {