Browse Source

#IQRV #comment [Plugin] 取消写入ini文件时空格的添加

gifur 4 years ago
parent
commit
b1fde8c974
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Plugins/MediaDevDetectBasePulse/mainform.cpp

+ 3 - 0
Plugins/MediaDevDetectBasePulse/mainform.cpp

@@ -381,6 +381,9 @@ bool MainForm::setCurrentActiveDevThirdParty(DevMode mode, QVariant value)
         return false;
     };
 
+    ini.SetSpaces(false);
+    ini.SetMultiLine(false);
+
     const char* newValue = value.toByteArray().data();
     bool result = false;