aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Rogalsky <[email protected]>2014-12-23 14:50:16 +0100
committerJean-Baptiste Mardelle <[email protected]>2014-12-23 17:25:10 +0100
commitb93afbcabe74744643ee31c58a1b23c2823167a8 (patch)
tree3a2d0135a37f2d331a123f2533f5a2756002dbc1
parentbcd7336565337b5a2a6cef8483214f1bdada7111 (diff)
Fixed compile warning and removed cruft
-rw-r--r--src/project/projectlist.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/project/projectlist.cpp b/src/project/projectlist.cpp
index 1965ba4..67c819a 100644
--- a/src/project/projectlist.cpp
+++ b/src/project/projectlist.cpp
@@ -2291,19 +2291,24 @@ void ProjectList::slotReplyGetFileProperties(const QString &clipId, Mlt::Produce
if (!item->hasProxy() || m_render->activeClipId() == item->clipId()) {
emit requestClipSelect(clipId);
}
- bool updatedProfile = false;
if (item->parent()) {
if (item->parent()->type() == ProjectFoldeType)
static_cast <FolderProjectItem *>(item->parent())->switchIcon();
- } else if (KdenliveSettings::checkfirstprojectclip() && m_listView->topLevelItemCount() == 1 && m_refreshed && m_allClipsProcessed) {
- // this is the first clip loaded in project, check if we want to adjust project settings to the clip
+ } else if (KdenliveSettings::checkfirstprojectclip()
+ && m_listView->topLevelItemCount() == 1
+ && m_refreshed && m_allClipsProcessed) {
+ // this is the first clip loaded in project, check if we want
+ // to adjust project settings to the clip
emit firstClip(item);
}
} else {
int max = m_doc->clipManager()->clipsCount();
- if (max > 0) emit displayMessage(i18n("Loading clips"), (int)(100 *(max - queue) / max));
+ if (max > 0)
+ emit displayMessage(i18n("Loading clips"), (int)(100 *(max - queue) / max));
}
- if (m_allClipsProcessed) emit processNextThumbnail();
+
+ if (m_allClipsProcessed)
+ emit processNextThumbnail();
}
if (!item) {
// no item for producer, delete it