QStringList effectInfo;
KIcon videoIcon("kdenlive-show-video");
KIcon audioIcon("kdenlive-show-audio");
+ KIcon customIcon("kdenlive-custom-effect");
int ct = MainWindow::videoEffects.count();
for (int ix = 0; ix < ct; ix ++) {
effectInfo = MainWindow::videoEffects.effectIdInfo(ix);
for (int ix = 0; ix < ct; ix ++) {
effectInfo = MainWindow::customEffects.effectIdInfo(ix);
if (!effectInfo.isEmpty()) {
- item = new QListWidgetItem(effectInfo.takeFirst(), this);
+ item = new QListWidgetItem(customIcon, effectInfo.takeFirst(), this);
item->setData(TypeRole, QString::number((int) EFFECT_CUSTOM));
item->setData(IdRole, effectInfo);
}
// Issue 238: Add icons for effect type in effectstack.
KIcon videoIcon("kdenlive-show-video");
KIcon audioIcon("kdenlive-show-audio");
+ KIcon customIcon("kdenlive-custom-effect");
QListWidgetItem* item;
for (int i = 0; i < m_clipref->effectsCount(); i++) {
if ("audio" == type) {
item = new QListWidgetItem(audioIcon, i18n(namenode.toElement().text().toUtf8().data()), m_ui.effectlist);
} else if ("custom" == type) {
- item = new QListWidgetItem(i18n(namenode.toElement().text().toUtf8().data()), m_ui.effectlist);
+ item = new QListWidgetItem(customIcon, i18n(namenode.toElement().text().toUtf8().data()), m_ui.effectlist);
} else {
item = new QListWidgetItem(videoIcon, i18n(namenode.toElement().text().toUtf8().data()), m_ui.effectlist);
}