KUrl url = clip->fileURL();
#ifdef USE_NEPOMUK
- if (!url.isEmpty() && KdenliveSettings::activate_nepomuk()) {
+ if (!url.isEmpty() && KdenliveSettings::activate_nepomuk() && clip->getProperty("description").isEmpty()) {
// if file has Nepomuk comment, use it
Nepomuk::Resource f(url.path());
QString annotation = f.description();
- if (!annotation.isEmpty()) item->setText(1, annotation);
+ if (!annotation.isEmpty()) {
+ item->setText(1, annotation);
+ clip->setProperty("description", annotation);
+ }
item->setText(2, QString::number(f.rating()));
}
#endif
if (job->addClipToProject) {
emit addClip(destination, QString(), QString());
}
- }
- else if (job->jobStatus == JOBCRASHED) {
- emit updateJobStatus(job->clipId(), job->jobType, JOBCRASHED, job->errorMessage());
+ } else if (job->jobStatus == JOBCRASHED || job->jobStatus == JOBABORTED) {
+ emit updateJobStatus(job->clipId(), job->jobType, job->jobStatus, job->errorMessage());
}
}
// Thread finished, cleanup & update count
if (item->hasProxy()) {
QPainter p(&pix);
QColor c = QPalette().base().color();
- c.setAlpha(160);
+ c.setAlpha(200);
QBrush br(c);
p.setBrush(br);
p.setPen(Qt::NoPen);
- QRect r(1, 1, 10, 10);
- p.drawRect(r);
+ QRect r(1, 1, 15, 15);
+ p.drawRoundedRect(r, 2, 2);
p.setPen(QPalette().text().color());
+ QFont font = p.font();
+ font.setBold(true);
+ p.setFont(font);
p.drawText(r, Qt::AlignCenter, i18nc("The first letter of Proxy, used as abbreviation", "P"));
}
}