New upstream version 25.0.3+dfsg1
This commit is contained in:
parent
04fe0efc67
commit
8b2e5f2130
569 changed files with 62491 additions and 5875 deletions
|
|
@ -323,3 +323,15 @@ bool LineEditChanged(QEvent *event)
|
|||
|
||||
return false;
|
||||
}
|
||||
|
||||
void setThemeID(QWidget *widget, const QString &themeID)
|
||||
{
|
||||
if (widget->property("themeID").toString() != themeID) {
|
||||
widget->setProperty("themeID", themeID);
|
||||
|
||||
/* force style sheet recalculation */
|
||||
QString qss = widget->styleSheet();
|
||||
widget->setStyleSheet("/* */");
|
||||
widget->setStyleSheet(qss);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue