Project

General

Profile

Bug #124

Notices use the Color of Qt Error messages

Added by EgS almost 17 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Quassel GUI (Qt)
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Version:
0.13.1
OS:
Any

Description

Setting the color for Notices has no effect on them (maybe on something different? ;)). But instead Notices are displayed in the color of Error Messages.

Associated revisions

Revision f8ce53c8 (diff)
Added by Manuel Nickschas almost 17 years ago

Display notices correctly. Fixes BR #124.

History

#1 Updated by phon almost 17 years ago

The color is saved to QtUiStyle as FormatType NoticeMsg - so probably there is an error with the rendering/displaying.

saveColor(UiStyle::NoticeMsg, ui.noticeMessageFG->color()); void ColorSettingsPage::saveColor(UiStyle::FormatType formatType, const QColor &color) { QTextCharFormat format = QtUi::style()->format(formatType); format.setForeground(QBrush(color)); QtUi::style()->setFormat(formatType, format, Settings::Custom); }

Also available in: Atom PDF