mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2026-06-30 18:19:11 -04:00
refactor: Move to agent architecture
This commit is contained in:
@@ -47,16 +47,6 @@ ErrorWidget::~ErrorWidget()
|
||||
}
|
||||
}
|
||||
|
||||
void ErrorWidget::setErrorMessage(const QString &message)
|
||||
{
|
||||
m_errorMessage = message;
|
||||
QFont smallFont = font();
|
||||
smallFont.setPointSize(qMax(8, smallFont.pointSize() - 2));
|
||||
setFont(smallFont);
|
||||
setFixedSize(calculateSize());
|
||||
update();
|
||||
}
|
||||
|
||||
void ErrorWidget::setupColors()
|
||||
{
|
||||
m_textColor = Utils::creatorTheme()->color(Utils::Theme::TextColorNormal);
|
||||
|
||||
Reference in New Issue
Block a user