Add missing update call
This commit is contained in:
parent
a669df832f
commit
b51f342be3
|
@ -110,6 +110,7 @@ void QtMaterialAvatar::setTextColor(const QColor &color)
|
|||
|
||||
d->textColor = color;
|
||||
setUseThemeColors(false);
|
||||
update();
|
||||
}
|
||||
|
||||
QColor QtMaterialAvatar::textColor() const
|
||||
|
@ -129,6 +130,7 @@ void QtMaterialAvatar::setBackgroundColor(const QColor &color)
|
|||
|
||||
d->backgroundColor = color;
|
||||
setUseThemeColors(false);
|
||||
update();
|
||||
}
|
||||
|
||||
QColor QtMaterialAvatar::backgroundColor() const
|
||||
|
|
|
@ -103,6 +103,7 @@ void QtMaterialBadge::setTextColor(const QColor &color)
|
|||
|
||||
d->textColor = color;
|
||||
setUseThemeColors(false);
|
||||
update();
|
||||
}
|
||||
|
||||
QColor QtMaterialBadge::textColor() const
|
||||
|
@ -122,6 +123,7 @@ void QtMaterialBadge::setBackgroundColor(const QColor &color)
|
|||
|
||||
d->backgroundColor = color;
|
||||
setUseThemeColors(false);
|
||||
update();
|
||||
}
|
||||
|
||||
QColor QtMaterialBadge::backgroundColor() const
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
MainWindow::MainWindow(QWidget *parent)
|
||||
: QMainWindow(parent)
|
||||
{
|
||||
//AvatarSettingsEditor *editor = new AvatarSettingsEditor;
|
||||
//setCentralWidget(editor);
|
||||
|
||||
BadgeSettingsEditor *editor = new BadgeSettingsEditor;
|
||||
AvatarSettingsEditor *editor = new AvatarSettingsEditor;
|
||||
setCentralWidget(editor);
|
||||
|
||||
//BadgeSettingsEditor *editor = new BadgeSettingsEditor;
|
||||
//setCentralWidget(editor);
|
||||
}
|
||||
|
||||
MainWindow::~MainWindow()
|
||||
|
|
Loading…
Reference in New Issue