Tue, 28 Sep 2021 23:07:23 +0300
Use QSaveFile to save the file more safely
# # LDForge configuration option definitions # # Syntax: # option OptionName = value # option OptionName = type {value} # # comment # # Rendering options option Locale = "system" option BackgroundColor = QColor{48, 48, 48} option MainColor = QColor{255, 255, 64} option SelectedColor = QColor{32, 32, 224} option LineThickness = 2.0f option LineAntiAliasing = true option RenderStyle = 0 option DrawWireframe = false option MainWindowGeometry = QByteArray{} option MainSplitterState = QByteArray{} option RecentFiles = QStringList{} # File management options option Libraries = QVector<Library>{}