File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -144,11 +144,16 @@ static void detectQtCt(char qver, FFQtResult* result)
144144 ffParsePropFileConfigValues (file , 3 , (FFpropquery []) {
145145 {"style=" , & result -> widgetStyle },
146146 {"icon_theme=" , & result -> icons },
147- // FIXME: on older versions this was hex-encoded binary format
148- // (See QVariant notes on https://doc.qt.io/qt-5/qsettings.html)
149- // Thankfully, newer versions use the more common font encoding.
150147 {"general=" , & result -> font }
151148 });
149+
150+ if (ffStrbufStartsWithC (& result -> font , '@' ))
151+ {
152+ // See QVariant notes on https://doc.qt.io/qt-5/qsettings.html and
153+ // https://github.com/fastfetch-cli/fastfetch/issues/1053#issuecomment-2197254769
154+ // Thankfully, newer versions use the more common font encoding.
155+ ffStrbufSetNS (& result -> font , 5 , file );
156+ }
152157}
153158
154159static void detectKvantum (FFQtResult * result )
You can’t perform that action at this time.
0 commit comments