Browse Source

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

gifur 4 năm trước cách đây
mục cha
commit
b1fde8c974
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  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;