Project

General

Profile

Bug #124

Notices use the Color of Qt Error messages

Added by EgS over 12 years ago. Updated over 11 years ago.

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

0%

Estimated time:
Version:
0.13.0
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 over 12 years ago

Display notices correctly. Fixes BR #124.

History

#1 Updated by phon over 12 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