From c69cbceb597bd01cf5bc49beaf8a6696616942d1 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 27 Jan 2020 15:26:39 -0500 Subject: [PATCH] DolphinQt/MainWindow: Surround prototype of OnSignal() with relevant ifdef This is only used on Apple and Unix-like machines, so we can enclose the prototype with an ifdef like the implementation is. This prevents false-positives about an unimplemented function prototype. --- Source/Core/DolphinQt/MainWindow.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/Core/DolphinQt/MainWindow.h b/Source/Core/DolphinQt/MainWindow.h index 5c1ae69f72..acc93df540 100644 --- a/Source/Core/DolphinQt/MainWindow.h +++ b/Source/Core/DolphinQt/MainWindow.h @@ -162,7 +162,10 @@ private: void OnBootGameCubeIPL(DiscIO::Region region); void OnImportNANDBackup(); void OnConnectWiiRemote(int id); + +#if defined(__unix__) || defined(__unix) || defined(__APPLE__) void OnSignal(); +#endif void OnUpdateProgressDialog(QString label, int progress, int total);