disable fps widget when recording
authorkoda
Mon, 29 Oct 2012 00:36:40 +0100
changeset 7868 bfbc6aa87b7c
parent 7867 a691fd5f98f8
child 7869 5dd2c047c96f
disable fps widget when recording
QTfrontend/net/recorder.cpp
--- a/QTfrontend/net/recorder.cpp	Mon Oct 29 00:20:34 2012 +0100
+++ b/QTfrontend/net/recorder.cpp	Mon Oct 29 00:36:40 2012 +0100
@@ -110,7 +110,7 @@
     arguments << "0"; // sound volume
     arguments << QString::number(config->timerInterval());
     arguments << datadir->absolutePath();
-    arguments << (config->isShowFPSEnabled() ? "1" : "0");
+    arguments << "0"; // fps
     arguments << (config->isAltDamageEnabled() ? "1" : "0");
     arguments << config->netNick().toUtf8().toBase64();
     arguments << QString::number(config->translateQuality());
@@ -124,7 +124,7 @@
 // Could use a field to use quality instead. maybe quality could override bitrate - or just pass (and set) both. 
 // The library does support using both at once after all.
     arguments << QString::number(config->rec_Bitrate()*1024);
-    arguments << (config->recordAudio()? config->audioCodec() : "no");
+    arguments << (config->recordAudio() ? config->audioCodec() : "no");
 
     return arguments;
 }