QTfrontend/ui/widget/themeprompt.cpp
changeset 8419 d99f46b676b5
parent 8385 9e8924ff9813
child 8434 4821897a0f10
--- a/QTfrontend/ui/widget/themeprompt.cpp	Mon Jan 21 13:04:57 2013 -0500
+++ b/QTfrontend/ui/widget/themeprompt.cpp	Mon Jan 21 14:07:39 2013 -0500
@@ -81,9 +81,10 @@
 	{
 		QModelIndex index = themes->index(i, 0);
 		QToolButton * btn = new QToolButton();
+		bool dlc = themes->data(index, Qt::UserRole + 2).toBool();
 		btn->setToolButtonStyle(Qt::ToolButtonTextUnderIcon);
 		btn->setIcon(qVariantValue<QIcon>(themes->data(index, Qt::UserRole)));
-		btn->setText(themes->data(index, Qt::DisplayRole).toString());
+		btn->setText((dlc ? "*" : "") + themes->data(index, Qt::DisplayRole).toString());
 		btn->setIconSize(QSize(60, 60));
 		btn->setProperty("themeID", QVariant(i));
 		btn->setStyleSheet("padding: 2px;");