Commit 7a1c96d 1 parent 4c2e9cc commit 7a1c96d Copy full SHA for 7a1c96d
File tree 1 file changed +13
-2
lines changed
1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -138,13 +138,24 @@ void Configuration::retrieveFromStorage( QSettings& settings )
138
138
DefaultConfiguration.enableMainSearchHighlightVariance_ )
139
139
.toBool ();
140
140
141
- mainSearchBackColor_.setNamedColor (
141
+
142
+ mainSearchBackColor_
143
+ #if QT_VERSION <= QT_VERSION_CHECK( 6, 4, 0 )
144
+ .setNamedColor (
145
+ #else
146
+ .fromString (
147
+ #endif
142
148
settings
143
149
.value ( " regexpType.mainBackColor" ,
144
150
DefaultConfiguration.mainSearchBackColor_ .name ( QColor::HexArgb ) )
145
151
.toString () );
146
152
147
- qfBackColor_.setNamedColor (
153
+ qfBackColor_
154
+ #if QT_VERSION <= QT_VERSION_CHECK( 6, 4, 0 )
155
+ .setNamedColor (
156
+ #else
157
+ .fromString (
158
+ #endif
148
159
settings
149
160
.value ( " regexpType.quickfindBackColor" ,
150
161
DefaultConfiguration.qfBackColor_ .name ( QColor::HexArgb ) )
You can’t perform that action at this time.
0 commit comments