tweak(cosmic-theme): pretty write ini

This commit is contained in:
Adil Hanney 2026-02-18 20:42:34 +00:00 • committed by Jeremy Soller
parent 3ed5c173fd
commit 754b064bff
3 changed files with 12 additions and 4 deletions

View file

@ -8,7 +8,7 @@ use std::{
path::{Path, PathBuf},
};
use super::OutputError;
use super::{OutputError, qt_settings_ini_style};
impl Theme {
/// Produces a color scheme ini file for Qt.
@ -258,7 +258,7 @@ widgetStyle=qt6ct-style
}
kdeglobals_ini
.write(kdeglobals_file)
.pretty_write(kdeglobals_file, &qt_settings_ini_style())
.map_err(OutputError::Io)?;
Ok(())
}