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;
|
d->textColor = color;
|
||||||
setUseThemeColors(false);
|
setUseThemeColors(false);
|
||||||
|
update();
|
||||||
}
|
}
|
||||||
|
|
||||||
QColor QtMaterialAvatar::textColor() const
|
QColor QtMaterialAvatar::textColor() const
|
||||||
|
@ -129,6 +130,7 @@ void QtMaterialAvatar::setBackgroundColor(const QColor &color)
|
||||||
|
|
||||||
d->backgroundColor = color;
|
d->backgroundColor = color;
|
||||||
setUseThemeColors(false);
|
setUseThemeColors(false);
|
||||||
|
update();
|
||||||
}
|
}
|
||||||
|
|
||||||
QColor QtMaterialAvatar::backgroundColor() const
|
QColor QtMaterialAvatar::backgroundColor() const
|
||||||
|
|
|
@ -103,6 +103,7 @@ void QtMaterialBadge::setTextColor(const QColor &color)
|
||||||
|
|
||||||
d->textColor = color;
|
d->textColor = color;
|
||||||
setUseThemeColors(false);
|
setUseThemeColors(false);
|
||||||
|
update();
|
||||||
}
|
}
|
||||||
|
|
||||||
QColor QtMaterialBadge::textColor() const
|
QColor QtMaterialBadge::textColor() const
|
||||||
|
@ -122,6 +123,7 @@ void QtMaterialBadge::setBackgroundColor(const QColor &color)
|
||||||
|
|
||||||
d->backgroundColor = color;
|
d->backgroundColor = color;
|
||||||
setUseThemeColors(false);
|
setUseThemeColors(false);
|
||||||
|
update();
|
||||||
}
|
}
|
||||||
|
|
||||||
QColor QtMaterialBadge::backgroundColor() const
|
QColor QtMaterialBadge::backgroundColor() const
|
||||||
|
|
|
@ -6,11 +6,11 @@
|
||||||
MainWindow::MainWindow(QWidget *parent)
|
MainWindow::MainWindow(QWidget *parent)
|
||||||
: QMainWindow(parent)
|
: QMainWindow(parent)
|
||||||
{
|
{
|
||||||
//AvatarSettingsEditor *editor = new AvatarSettingsEditor;
|
AvatarSettingsEditor *editor = new AvatarSettingsEditor;
|
||||||
//setCentralWidget(editor);
|
|
||||||
|
|
||||||
BadgeSettingsEditor *editor = new BadgeSettingsEditor;
|
|
||||||
setCentralWidget(editor);
|
setCentralWidget(editor);
|
||||||
|
|
||||||
|
//BadgeSettingsEditor *editor = new BadgeSettingsEditor;
|
||||||
|
//setCentralWidget(editor);
|
||||||
}
|
}
|
||||||
|
|
||||||
MainWindow::~MainWindow()
|
MainWindow::~MainWindow()
|
||||||
|
|
Loading…
Reference in New Issue