summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-06-05 21:43:55 +0200
committerLioncash <mathew1800@gmail.com>2019-06-05 21:47:35 +0200
commitb5e1e879229ca37332a73186924738b77181f666 (patch)
tree1fdd0ccd540866ebb1050bf26145c0236231ac4e /src
parentMerge pull request #2510 from SciresM/desired_language (diff)
downloadyuzu-b5e1e879229ca37332a73186924738b77181f666.tar
yuzu-b5e1e879229ca37332a73186924738b77181f666.tar.gz
yuzu-b5e1e879229ca37332a73186924738b77181f666.tar.bz2
yuzu-b5e1e879229ca37332a73186924738b77181f666.tar.lz
yuzu-b5e1e879229ca37332a73186924738b77181f666.tar.xz
yuzu-b5e1e879229ca37332a73186924738b77181f666.tar.zst
yuzu-b5e1e879229ca37332a73186924738b77181f666.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt
index 3ea7b55d0..ec969a9a7 100644
--- a/src/yuzu/CMakeLists.txt
+++ b/src/yuzu/CMakeLists.txt
@@ -159,6 +159,9 @@ target_compile_definitions(yuzu PRIVATE
# Disable implicit conversions from/to C strings
-DQT_NO_CAST_FROM_ASCII
-DQT_NO_CAST_TO_ASCII
+
+ # Disable implicit type narrowing in signal/slot connect() calls.
+ -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT
)
if (YUZU_ENABLE_COMPATIBILITY_REPORTING)