Skip to content
Snippets Groups Projects
Commit c07731af authored by SeeLook's avatar SeeLook :musical_note:
Browse files

Follow system palette color change - status tip

parent 95313b63
No related branches found
No related tags found
No related merge requests found
Pipeline #3316 skipped
......@@ -454,6 +454,11 @@ void TnootkaQML::setQmlEngine(QQmlEngine* e) {
m_aboutAct = new Taction(this);
connect(m_aboutAct, &Taction::triggered, this, &TnootkaQML::aboutActTriggered);
m_messageColor = qApp->palette().highlight().color();
connect(qApp, &QGuiApplication::paletteChanged, this, [=]{
setMessageColor(qApp->palette().highlight().color());
m_scoreAct->setBgColor(qApp->palette().highlight().color());
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment