@@ -245,97 +245,97 @@ void StyleEditDialog::setStyleDefaultDark()
245245 updateStyle ();
246246}
247247
248- void StyleEditDialog::colorChangedWidgetFG (QColor& newColor)
248+ void StyleEditDialog::colorChangedWidgetFG (const QColor& newColor)
249249{
250250 mStyleOutgoing .widgetFGColor = newColor;
251251 updateStyle ();
252252}
253253
254- void StyleEditDialog::colorChangedWidgetBG (QColor& newColor)
254+ void StyleEditDialog::colorChangedWidgetBG (const QColor& newColor)
255255{
256256 mStyleOutgoing .widgetBGColor = newColor;
257257 updateStyle ();
258258}
259259
260- void StyleEditDialog::colorChangedHighlightBG (QColor& newColor)
260+ void StyleEditDialog::colorChangedHighlightBG (const QColor& newColor)
261261{
262262 mStyleOutgoing .highlightBGColor = newColor;
263263 updateStyle ();
264264}
265265
266- void StyleEditDialog::colorChangedLineNumFG (QColor& newColor)
266+ void StyleEditDialog::colorChangedLineNumFG (const QColor& newColor)
267267{
268268 mStyleOutgoing .lineNumFGColor = newColor;
269269 updateStyle ();
270270}
271271
272- void StyleEditDialog::colorChangedLineNumBG (QColor& newColor)
272+ void StyleEditDialog::colorChangedLineNumBG (const QColor& newColor)
273273{
274274 mStyleOutgoing .lineNumBGColor = newColor;
275275 updateStyle ();
276276}
277277
278- void StyleEditDialog::colorChangedKeywordFG (QColor& newColor)
278+ void StyleEditDialog::colorChangedKeywordFG (const QColor& newColor)
279279{
280280 mStyleOutgoing .keywordColor = newColor;
281281 updateStyle ();
282282}
283283
284- void StyleEditDialog::weightChangedKeyword (QFont::Weight& newWeight)
284+ void StyleEditDialog::weightChangedKeyword (const QFont::Weight& newWeight)
285285{
286286 mStyleOutgoing .keywordWeight = newWeight;
287287 updateStyle ();
288288}
289289
290- void StyleEditDialog::colorChangedClassFG (QColor& newColor)
290+ void StyleEditDialog::colorChangedClassFG (const QColor& newColor)
291291{
292292 mStyleOutgoing .classColor = newColor;
293293 updateStyle ();
294294}
295295
296- void StyleEditDialog::weightChangedClass (QFont::Weight& newWeight)
296+ void StyleEditDialog::weightChangedClass (const QFont::Weight& newWeight)
297297{
298298 mStyleOutgoing .classWeight = newWeight;
299299 updateStyle ();
300300}
301301
302- void StyleEditDialog::colorChangedQuoteFG (QColor& newColor)
302+ void StyleEditDialog::colorChangedQuoteFG (const QColor& newColor)
303303{
304304 mStyleOutgoing .quoteColor = newColor;
305305 updateStyle ();
306306}
307307
308- void StyleEditDialog::weightChangedQuote (QFont::Weight& newWeight)
308+ void StyleEditDialog::weightChangedQuote (const QFont::Weight& newWeight)
309309{
310310 mStyleOutgoing .quoteWeight = newWeight;
311311 updateStyle ();
312312}
313313
314- void StyleEditDialog::colorChangedCommentFG (QColor& newColor)
314+ void StyleEditDialog::colorChangedCommentFG (const QColor& newColor)
315315{
316316 mStyleOutgoing .commentColor = newColor;
317317 updateStyle ();
318318}
319319
320- void StyleEditDialog::weightChangedComment (QFont::Weight& newWeight)
320+ void StyleEditDialog::weightChangedComment (const QFont::Weight& newWeight)
321321{
322322 mStyleOutgoing .commentWeight = newWeight;
323323 updateStyle ();
324324}
325325
326- void StyleEditDialog::colorChangedSymbolFG (QColor& newColor)
326+ void StyleEditDialog::colorChangedSymbolFG (const QColor& newColor)
327327{
328328 mStyleOutgoing .symbolFGColor = newColor;
329329 updateStyle ();
330330}
331331
332- void StyleEditDialog::colorChangedSymbolBG (QColor& newColor)
332+ void StyleEditDialog::colorChangedSymbolBG (const QColor& newColor)
333333{
334334 mStyleOutgoing .symbolBGColor = newColor;
335335 updateStyle ();
336336}
337337
338- void StyleEditDialog::weightChangedSymbol (QFont::Weight& newWeight)
338+ void StyleEditDialog::weightChangedSymbol (const QFont::Weight& newWeight)
339339{
340340 mStyleOutgoing .symbolWeight = newWeight;
341341 updateStyle ();
0 commit comments