From 9e9cfc715306eb30289426c6db4ce36ab0fc575f Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Thu, 27 Jan 2022 11:14:00 -0500 Subject: [PATCH] Remove unneccesary stub in watchdog --- src/watchdog.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/watchdog.cpp b/src/watchdog.cpp index 485d337..5700210 100644 --- a/src/watchdog.cpp +++ b/src/watchdog.cpp @@ -5,7 +5,6 @@ #include #include -#if defined(Q_OS_LINUX) #include #include #include @@ -60,12 +59,8 @@ QImage qimageFromXImage(XImage *xi) { return image; } -#endif void Watchdog::launchGame(const ProfileSettings &settings, LoginAuth auth) { - // TODO: stubbed out on other platforms - // (you can't actually enable it on other platforms, so this is fine for now.) -#if defined(Q_OS_LINUX) if(icon == nullptr) { icon = new QSystemTrayIcon(); } @@ -180,5 +175,4 @@ void Watchdog::launchGame(const ProfileSettings &settings, LoginAuth auth) { }); timer->start(5000); -#endif -} \ No newline at end of file +}