summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2020-01-27 15:26:39 -0500
committerLioncash <mathew1800@gmail.com>2020-01-27 15:26:41 -0500
commitc69cbceb597bd01cf5bc49beaf8a6696616942d1 (patch)
treeea66af0d22788efbce656c25c2c1a85a9a26b5da /Source/Core
parente8ee4e835e4bbc518406a5037036c43687e3ec27 (diff)
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.
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinQt/MainWindow.h3
1 files changed, 3 insertions, 0 deletions
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);