]> granicus.if.org Git - transmission/commitdiff
(qt) #5307 'Error in prefs.cc' -- fixed with patch from rb07.
authorJordan Lee <jordan@transmissionbt.com>
Tue, 26 Feb 2013 04:53:35 +0000 (04:53 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Tue, 26 Feb 2013 04:53:35 +0000 (04:53 +0000)
qt/prefs.cc

index 25f0583f30bb1c71d754a1ee1a05cc05d4648806..0a7c0791a77d3c243a1195e14f74555f07d7d768 100644 (file)
@@ -107,7 +107,7 @@ Prefs::PrefItem Prefs::myItems[] =
   { DHT_ENABLED, TR_KEY_dht_enabled, QVariant::Bool },
   { UTP_ENABLED, TR_KEY_utp_enabled, QVariant::Bool },
   { LPD_ENABLED, TR_KEY_lpd_enabled, QVariant::Bool },
-  { PORT_FORWARDING, TR_KEY_port, QVariant::Bool },
+  { PORT_FORWARDING, TR_KEY_port_forwarding_enabled, QVariant::Bool },
   { PREALLOCATION, TR_KEY_preallocation, QVariant::Int },
   { RATIO, TR_KEY_ratio_limit, QVariant::Double },
   { RATIO_ENABLED, TR_KEY_ratio_limit_enabled, QVariant::Bool },