]> git.sesse.net Git - kdenlive/commitdiff
cleanup
authorJean-Baptiste Mardelle <jb@kdenlive.org>
Mon, 17 Sep 2012 09:16:25 +0000 (11:16 +0200)
committerJean-Baptiste Mardelle <jb@kdenlive.org>
Mon, 17 Sep 2012 09:16:25 +0000 (11:16 +0200)
src/customtrackview.cpp
src/customtrackview.h
src/trackview.cpp
src/utils/resourcewidget.cpp

index cf1ac2294f639750d4c89a083dd5bc059db64500..1edb555b9e51ab6b0c9782a6e5d60608108ed8e0 100644 (file)
@@ -3359,7 +3359,7 @@ int CustomTrackView::seekPosition() const
 }
 
 
-void CustomTrackView::setCursorPos(int pos, bool seek)
+void CustomTrackView::setCursorPos(int pos)
 {
     if (pos != m_cursorPos) {
        emit cursorMoved((int)(m_cursorPos), (int)(pos));
index a37f76ee74d3fd378b0f4d0421f231fc341a9aa0..c493ceb68e6d20e1e6a8b6926c1dfc781a96a0c2 100644 (file)
@@ -206,8 +206,10 @@ public:
     int seekPosition() const;
     
 public slots:
+    /** @brief Send seek request to MLT. */
     void seekCursorPos(int pos);
-    void setCursorPos(int pos, bool seek = true);
+    /** @brief Move timeline cursor to new position. */
+    void setCursorPos(int pos);
     void moveCursorPos(int delta);
     void updateCursorPos();
     void slotDeleteEffect(ClipItem *clip, int track, QDomElement effect, bool affectGroup = true);
index 0bf0331acecfbcd95a26e211c8b1626e3d326e7b..b9df353dd99e288215eec4cbbd8c4cd7c8475ed8 100644 (file)
@@ -470,7 +470,7 @@ void TrackView::setCursorPos(int pos)
 
 void TrackView::moveCursorPos(int pos)
 {
-    m_trackview->setCursorPos(pos, false);
+    m_trackview->setCursorPos(pos);
 }
 
 void TrackView::slotChangeZoom(int horizontal, int vertical)
index 16d54a3fb9dc0959f28a78cee9375e20c4cfa1bb..45bcb227f5a4c8b7f7c35e82ac4148b2bafb657c 100644 (file)
@@ -256,7 +256,6 @@ void ResourceWidget::slotGotFile(KJob *job)
         res.setProperty( Nepomuk::Vocabulary::NIE::license(), (Nepomuk::Variant) job->property("license") );
         res.setProperty( Nepomuk::Vocabulary::NIE::licenseType(), (Nepomuk::Variant) job->property("licenseurl") );
         res.setProperty( Nepomuk::Vocabulary::NDO::copiedFrom(), (Nepomuk::Variant) job->property("originurl") );
-        res.setProperty( Nepomuk::Vocabulary::NDO::copiedFrom(), (Nepomuk::Variant) job->property("originurl") );
         res.setProperty( Nepomuk::Vocabulary::NCO::creator(), (Nepomuk::Variant) job->property("author") );
         //res.setDescription(item_description->toPlainText());
         //res.setProperty( Soprano::Vocabulary::NAO::description(),