Adapt to OBS switch from "themeID" to "class" properties

OBS commit: cb026964b00c366943a3c16dfb1511eafc24c035
This commit is contained in:
WarmUpTill
2024-10-09 10:10:52 +02:00
committed by WarmUpTill
parent 0fd5f47982
commit 8d9519c849
7 changed files with 262 additions and 8 deletions

View File

@@ -21,10 +21,13 @@ ResourceTable::ResourceTable(QTabWidget *parent, const QString &help,
{
_add->setProperty("themeID",
QVariant(QString::fromUtf8("addIconSmall")));
_add->setProperty("class", QVariant(QString::fromUtf8("icon-plus")));
_add->setToolTip(addToolTip);
_remove->setProperty("themeID",
QVariant(QString::fromUtf8("removeIconSmall")));
_remove->setProperty("class",
QVariant(QString::fromUtf8("icon-trash")));
_remove->setToolTip(removeToolTip);
_help->setWordWrap(true);